| /linux/net/core/ |
| H A D | gro.c | 3 #include <net/gro.h> 254 static void gro_complete(struct gro_node *gro, struct sk_buff *skb) in gro_complete() argument 287 gro_normal_one(gro, skb, NAPI_GRO_CB(skb)->count); in gro_complete() 290 static void __gro_flush_chain(struct gro_node *gro, u32 index, bool flush_old) in __gro_flush_chain() argument 292 struct list_head *head = &gro->hash[index].list; in __gro_flush_chain() 299 gro_complete(gro, skb); in __gro_flush_chain() 300 gro->hash[index].count--; in __gro_flush_chain() 303 if (!gro->hash[index].count) in __gro_flush_chain() 304 __clear_bit(index, &gro->bitmask); in __gro_flush_chain() 308 * gro->hash[].list contains packets ordered by age. [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | udpgro.sh | 39 ip netns exec "${PEER_NS}" ethtool -K veth1 gro on 91 # fool the GRO engine changing the destination address ... 94 # ... so that GRO will match the UDP_GRO enabled socket, but packets 160 run_test "no GRO" "${ipv4_args} -M 10 -s 1400" "-4 -n 10 -l 1400" 164 # when GRO does not take place 165 run_test "no GRO chk cmsg" "${ipv4_args} -M 10 -s 1400" "-4 -n 10 -l 1400 -S -1" 172 run_test "GRO" "${ipv4_args} -M 1 -s 14720 -S 0 " "-4 -n 1 -l 14720" 174 run_test "GRO chk cmsg" "${ipv4_args} -M 1 -s 14720 -S 0 " "-4 -n 1 -l 14720 -S 1472" 176 run_test "GRO with custom segment size" "${ipv4_args} -M 1 -s 14720 -S 500 " "-4 -n 1 -l 14720" 178 …run_test "GRO with custom segment size cmsg" "${ipv4_args} -M 1 -s 14720 -S 500 " "-4 -n 1 -l 1472… [all …]
|
| H A D | big_tcp.sh | 138 ip net exec $ROUTER_NS ethtool -K link1 gro $gw_gro 140 ip net exec $SERVER_NS ethtool -K link3 gro $ser_gro 160 echo "CLI GSO | GW GRO | GW GSO | SER GRO" && \
|
| H A D | gro.sh | |
| H A D | Makefile | |
| H A D | .gitignore | |
| H A D | skf_net_off.sh | 18 ip netns exec $NS ethtool -K tap1 gro off
|
| H A D | setup_veth.sh | |
| /linux/Documentation/networking/device_drivers/ethernet/intel/ |
| H A D | fm10k.rst | 89 Generic Receive Offload, aka GRO 91 The driver supports the in-kernel software implementation of GRO. GRO has 93 utilization can be significantly reduced when under large Rx load. GRO is an 94 evolution of the previously-used LRO interface. GRO is able to coalesce
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_do_redirect.c | 187 /* Enable GRO */ in test_xdp_do_redirect() 188 SYS(out, "ethtool -K veth_src gro on"); in test_xdp_do_redirect() 189 SYS(out, "ethtool -K veth_dst gro on"); in test_xdp_do_redirect() 192 if (!ASSERT_OK(err, "veth_src bpf_xdp_query gro on")) in test_xdp_do_redirect() 199 "veth_src query_opts.feature_flags gro on")) in test_xdp_do_redirect() 203 if (!ASSERT_OK(err, "veth_dst bpf_xdp_query gro on")) in test_xdp_do_redirect() 210 "veth_dst query_opts.feature_flags gro on")) in test_xdp_do_redirect()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | Makefile | 9 gro \ 14 gro.py \
|
| /linux/net/ipv6/ |
| H A D | exthdrs_offload.c | 3 * IPV6 GSO/GRO offload support 6 * IPV6 Extension Header GSO/GRO support
|
| H A D | ip6_offload.c | 3 * IPV6 GSO/GRO offload support 18 #include <net/gro.h> 23 /* All GRO functions are always builtin, except UDP over ipv6, which lays in 313 /* Common GRO receive for SIT and IP6IP6 */ in sit_ip6ip6_gro_receive() 328 /* Common GRO receive for SIT and IP6IP6 */ in ip4ip6_gro_receive()
|
| H A D | esp6_offload.c | 3 * IPV6 GSO/GRO offload support 9 * ESP GRO support 19 #include <net/gro.h> 435 MODULE_DESCRIPTION("IPV6 GSO/GRO offload support");
|
| H A D | ip6_offload.h | 3 * IPV6 GSO/GRO offload support
|
| /linux/include/net/ |
| H A D | busy_poll.h | 131 const struct gro_node *gro) in __skb_mark_napi_id() argument 138 skb->napi_id = gro->cached_napi_id; in __skb_mark_napi_id() 145 __skb_mark_napi_id(skb, &napi->gro); in skb_mark_napi_id()
|
| /linux/net/ipv4/ |
| H A D | gre_offload.c | 3 * IPV4 GSO/GRO offload support 13 #include <net/gro.h> 147 * for GRO, this is problematic for GSO hence can not be enabled in gre_gro_receive() 148 * here because a GRO pkt may end up in the forwarding path, thus in gre_gro_receive()
|
| H A D | esp4_offload.c | 3 * IPV4 GSO/GRO offload support 9 * ESP GRO support 19 #include <net/gro.h> 414 MODULE_DESCRIPTION("IPV4 GSO/GRO offload support");
|
| /linux/Documentation/networking/device_drivers/ethernet/microsoft/ |
| H A D | netvsc.rst | 51 Generic Receive Offload, aka GRO 53 The driver supports GRO and it is enabled by default. GRO coalesces
|
| /linux/kernel/bpf/ |
| H A D | cpumap.c | 37 #include <net/gro.h> 71 struct gro_node gro; member 280 * If the ring is empty, to not hold GRO packets in the stack for too in cpu_map_gro_flush() 285 gro_flush_normal(&rcpu->gro, !empty && HZ >= 1000); in cpu_map_gro_flush() 391 gro_receive_skb(&rcpu->gro, skbs[i]); in cpu_map_kthread_run() 469 gro_init(&rcpu->gro); in __cpu_map_entry_alloc() 498 gro_cleanup(&rcpu->gro); in __cpu_map_entry_alloc() 528 gro_cleanup(&rcpu->gro); in __cpu_map_entry_free()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_xdp_features.sh | 26 ethtool -K v1 gro on 28 ip netns exec ${NS} ethtool -K v0 gro on
|
| /linux/include/linux/ |
| H A D | netdev_features.h | 83 NETIF_F_GRO_FRAGLIST_BIT, /* Fraglist GRO */ 86 NETIF_F_GRO_UDP_FWD_BIT, /* Allow UDP GRO for forwarding */ 110 #define NETIF_F_GRO __NETIF_F(GRO)
|
| /linux/Documentation/virt/uml/ |
| H A D | user_mode_linux_howto_v2.rst | 267 * ``gro=[0,1]`` - sets GRO off or on. Enables receive/transmit offloads. 272 For example, GRO is enabled by default on local machine interfaces 307 vecX:transport=tap,ifname=tap0,depth=128,gro=1 335 vecX:transport=hybrid,ifname=tap0,depth=128,gro=1 349 vecX:transport=raw,ifname=p-veth0,depth=128,gro=1 371 vec0:transport=raw,ifname=p-veth0,depth=128,gro=1 696 vec0:transport=tap,ifname=tap0,depth=128,gro=1 \
|
| /linux/tools/perf/pmu-events/arch/powerpc/power8/ |
| H A D | memory.json | 54 … scope(Chip) Final pump was group pump and initial pump was chip or final and initial pump was gro" 120 … scope(Chip) Final pump was group pump and initial pump was chip or final and initial pump was gro"
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_txrx.h | 136 u64 gro_pkts; /* # of GRO superpackets */ 137 u64 gro_merged; /* # of pkts merged into existing GRO superpackets */
|