linux/drivers/net/hyperv
Shradha Gupta 685920920e hv_netvsc: Use VF's tso_max_size value when data path is VF
On Azure, increasing VF's gso/gro packet size to up-to GSO_MAX_SIZE
is not possible without allowing the same for netvsc NIC
(as the NICs are bonded together). For bonded NICs, the min of the max
aggregated pkt size of the members is propagated in the stack.

Therefore, we use netif_set_tso_max_size() to set max aggregated pkt size
to VF's packet size for netvsc too, when the data path is switched over
to the VF
Tested on azure env with Accelerated Networking enabled and disabled.

Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
History 2025-02-19 09:42:52 +00:00
..
hyperv_net.h hv_netvsc: Use VF's tso_max_size value when data path is VF 2025-02-19 09:42:52 +00:00
Kconfig hv_netvsc: rndis_filter needs to select NLS 2023-12-01 20:12:24 -08:00
Makefile hv_netvsc: Add XDP support 2020-01-25 10:43:19 +01:00
netvsc.c hv_netvsc: Replace one-element array with flexible array member 2025-01-17 19:07:48 -08:00
netvsc_bpf.c net: refactor ->ndo_bpf calls into dev_xdp_propagate 2024-08-24 15:27:22 +01:00
netvsc_drv.c hv_netvsc: Use VF's tso_max_size value when data path is VF 2025-02-19 09:42:52 +00:00
netvsc_trace.c hv_netvsc: add trace points 2018-03-17 20:10:27 -04:00
netvsc_trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
rndis_filter.c hv_netvsc: Use VF's tso_max_size value when data path is VF 2025-02-19 09:42:52 +00:00