Lines Matching refs:gro
53 /* portion of the cb set to zero at every gro iteration */
512 void __gro_flush(struct gro_node *gro, bool flush_old);
514 static inline void gro_flush(struct gro_node *gro, bool flush_old)
516 if (!gro->bitmask)
519 __gro_flush(gro, flush_old);
524 gro_flush(&napi->gro, flush_old);
528 static inline void gro_normal_list(struct gro_node *gro)
530 if (!gro->rx_count)
532 netif_receive_skb_list_internal(&gro->rx_list);
533 INIT_LIST_HEAD(&gro->rx_list);
534 gro->rx_count = 0;
537 static inline void gro_flush_normal(struct gro_node *gro, bool flush_old)
539 gro_flush(gro, flush_old);
540 gro_normal_list(gro);
546 static inline void gro_normal_one(struct gro_node *gro, struct sk_buff *skb,
549 list_add_tail(&skb->list, &gro->rx_list);
550 gro->rx_count += segs;
551 if (gro->rx_count >= READ_ONCE(net_hotdata.gro_normal_batch))
552 gro_normal_list(gro);
555 void gro_init(struct gro_node *gro);
556 void gro_cleanup(struct gro_node *gro);