Lines Matching refs:gcells
13 int gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb) in gro_cells_receive() argument
23 if (!gcells->cells || skb_cloned(skb) || netif_elide_gro(dev)) { in gro_cells_receive()
28 cell = this_cpu_ptr(gcells->cells); in gro_cells_receive()
70 int gro_cells_init(struct gro_cells *gcells, struct net_device *dev) in gro_cells_init() argument
74 gcells->cells = alloc_percpu(struct gro_cell); in gro_cells_init()
75 if (!gcells->cells) in gro_cells_init()
79 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_init()
106 void gro_cells_destroy(struct gro_cells *gcells) in gro_cells_destroy() argument
111 if (!gcells->cells) in gro_cells_destroy()
114 struct gro_cell *cell = per_cpu_ptr(gcells->cells, i); in gro_cells_destroy()
128 defer->ptr = gcells->cells; in gro_cells_destroy()
135 free_percpu(gcells->cells); in gro_cells_destroy()
137 gcells->cells = NULL; in gro_cells_destroy()