Skip to content

Enable Big TCP for MANA devices

Shradha Gupta linux-hyperv lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am 1739763715-28412-1-git-send-email-shradhagupta@linux.microsoft.com

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied 2/2
  2. v22 patches 6 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

* Add ipv6_hopopt_jumbo_remove() while sending Big TCP packets
---

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: mana: Allow tso_max_size to go up-to GSO_MAX_SIZEdrivers/net/ethernet/microsoft/mana/mana_en.c+5 -00 repliesApplied
2/2hv_netvsc: Use VF's tso_max_size value when data path is VFdrivers/net/hyperv/hyperv_net.h drivers/net/hyperv/netvsc_drv.c drivers/net/hyperv/rndis_filter.c+24 -60 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchHaiyang Zhang
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 net-next 0/2] Enable Big TCP for MANA devices

Allow the max gso/gro aggregated pkt 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 aggregated pkt 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 aggregated pkt 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

---
Changes in v3
* Add ipv6_hopopt_jumbo_remove() while sending Big TCP packets
---
Changes in v2
* Instead of using 'tcp segment' throughout the patch used the words 'aggregated pkt size'
---

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

 drivers/net/ethernet/microsoft/mana/mana_en.c |  5 +++++
 drivers/net/hyperv/hyperv_net.h               |  2 ++
 drivers/net/hyperv/netvsc_drv.c               | 15 +++++++++++++++
 drivers/net/hyperv/rndis_filter.c             | 13 +++++++------
 4 files changed, 29 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1