Searched refs:gcells (Results 1 – 1 of 1) sorted by relevance
17 static inline void gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb) in gro_cells_receive() argument22 if (!gcells->cells || skb_cloned(skb) || !(dev->features & NETIF_F_GRO)) { in gro_cells_receive()27 cell = this_cpu_ptr(gcells->cells); in gro_cells_receive()60 static inline int gro_cells_init(struct gro_cells *gcells, struct net_device *dev) in gro_cells_init() argument64 gcells->cells = alloc_percpu(struct gro_cell); in gro_cells_init()65 if (!gcells->cells) in gro_cells_init()69 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_init()78 static inline void gro_cells_destroy(struct gro_cells *gcells) in gro_cells_destroy() argument82 if (!gcells->cells) in gro_cells_destroy()85 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_destroy()[all …]