mbox series

[0/2] Enable Big TCP for MANA devices

Message ID 1738729257-25510-1-git-send-email-shradhagupta@linux.microsoft.com (mailing list archive)
Headers show
Series Enable Big TCP for MANA devices | expand

Message

Shradha Gupta Feb. 5, 2025, 4:20 a.m. UTC
Allow the max TCP segment size to go up to GSO_MAX_SIZE for MANA NIC.
On Azure, this not possible without allowing the same for netvsc NIC
(as the NICs are bonded together).
Therefore, we use netif_set_tso_max_size() to set max segment size
to VF's tso_max_size for netvsc too, when the data path is switched over
to the VF

The first patch allows MANA to configure segment size of up-to
GSO_MAX_SIZE

The second patch enables the same on the netvsc NIC, if the data path
for the bonded NIC is switched to the VF


Shradha Gupta (2):
  net: mana: Allow tso_max_size to go up-to GSO_MAX_SIZE in MANA
  hv_netvsc: Use VF's tso_max_size value when data path is VF

 drivers/net/ethernet/microsoft/mana/mana_en.c |  2 ++
 drivers/net/hyperv/hyperv_net.h               |  2 ++
 drivers/net/hyperv/netvsc_drv.c               | 15 +++++++++++++++
 drivers/net/hyperv/rndis_filter.c             | 13 +++++++------
 4 files changed, 26 insertions(+), 6 deletions(-)