Searched refs:gro_max_size (Results 1 – 4 of 4) sorted by relevance
103 unsigned int gro_max_size; in skb_gro_receive() local118 gro_max_size = p->protocol == htons(ETH_P_IPV6) ? in skb_gro_receive()119 READ_ONCE(p->dev->gro_max_size) : in skb_gro_receive()122 if (unlikely(p->len + len >= gro_max_size || NAPI_GRO_CB(skb)->flush)) in skb_gro_receive()
125 WRITE_ONCE(dev->gro_max_size, size); in netif_set_gro_max_size()
1819 nla_put_u32(skb, IFLA_GRO_MAX_SIZE, dev->gro_max_size) || in rtnl_fill_ifinfo()2921 u32 gro_max_size = nla_get_u32(tb[IFLA_GRO_MAX_SIZE]); in do_setlink() local2923 if (dev->gro_max_size ^ gro_max_size) { in do_setlink()2924 netif_set_gro_max_size(dev, gro_max_size); in do_setlink()2939 u32 gro_max_size = nla_get_u32(tb[IFLA_GRO_IPV4_MAX_SIZE]); in do_setlink() local2941 if (dev->gro_ipv4_max_size ^ gro_max_size) { in do_setlink()2942 netif_set_gro_ipv4_max_size(dev, gro_max_size); in do_setlink()
10816 dev->gro_max_size = GRO_LEGACY_MAX_SIZE; in alloc_netdev_mqs()