Lines Matching defs:gro
53 /* portion of the cb set to zero at every gro iteration */
504 void __gro_flush(struct gro_node *gro, bool flush_old);
506 static inline void gro_flush(struct gro_node *gro, bool flush_old)
508 if (!gro->bitmask)
511 __gro_flush(gro, flush_old);
516 gro_flush(&napi->gro, flush_old);
520 static inline void gro_normal_list(struct gro_node *gro)
522 if (!gro->rx_count)
524 netif_receive_skb_list_internal(&gro->rx_list);
525 INIT_LIST_HEAD(&gro->rx_list);
526 gro->rx_count = 0;
529 static inline void gro_flush_normal(struct gro_node *gro, bool flush_old)
531 gro_flush(gro, flush_old);
532 gro_normal_list(gro);
538 static inline void gro_normal_one(struct gro_node *gro, struct sk_buff *skb,
541 list_add_tail(&skb->list, &gro->rx_list);
542 gro->rx_count += segs;
543 if (gro->rx_count >= READ_ONCE(net_hotdata.gro_normal_batch))
544 gro_normal_list(gro);
547 void gro_init(struct gro_node *gro);
548 void gro_cleanup(struct gro_node *gro);