Searched refs:gcells (Results 1 – 1 of 1) sorted by relevance
18 static inline void gro_cells_receive(struct gro_cells *gcells, struct sk_buff *skb) in gro_cells_receive() argument20 struct gro_cell *cell = gcells->cells; in gro_cells_receive()29 cell += skb_get_rx_queue(skb) & gcells->gro_cells_mask; in gro_cells_receive()71 static inline int gro_cells_init(struct gro_cells *gcells, struct net_device *dev) in gro_cells_init() argument75 gcells->gro_cells_mask = roundup_pow_of_two(netif_get_num_default_rss_queues()) - 1; in gro_cells_init()76 gcells->cells = kcalloc(gcells->gro_cells_mask + 1, in gro_cells_init()79 if (!gcells->cells) in gro_cells_init()82 for (i = 0; i <= gcells->gro_cells_mask; i++) { in gro_cells_init()83 struct gro_cell *cell = gcells->cells + i; in gro_cells_init()92 static inline void gro_cells_destroy(struct gro_cells *gcells) in gro_cells_destroy() argument[all …]