[SRU][P/N:linux-azure][PATCH 0/5] azure: backport support for bandwidth clamping in MANA using net shapers

Vinicius Peixoto vinicius.peixoto at canonical.com
Thu Oct 2 15:26:33 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2126592

[Impact]

Support for bandwidth clamping in MANA is an important feature that has landed recently in upstream. Microsoft would like the feature backported to the Azure kernel in order to optimize their workloads on Azure.

[Fix]

Backport the following patches to the P/N:azure trees (Q:linux-azure already has all of them):

4d1a9213b4a1 net: mana: Fix potential deadlocks in mana napi ops
https://git.kernel.org/netdev/net-next/c/d5c8f0e4e0cb

21e498aae98b net: mana: Add support for net_shaper_ops
https://git.kernel.org/netdev/net-next/c/75cabb46935b

ae9bdb885adc net: mana: Add speed support in mana_get_link_ksettings
https://git.kernel.org/netdev/net-next/c/a6d5edf11e0c

2a5f85ef7b84 net: mana: Handle unsupported HWC commands
https://git.kernel.org/netdev/net-next/c/ca8ac489ca33

net: mana: Fix build errors when CONFIG_NET_SHAPER is disabled
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=11cd02069872

[Test plan]

Build tested only; Microsoft will test the bug fix.

[Where problems could occur]

Any problems here could cause unexpected behavior and/or crashes in the MANA driver on Azure instances.

[Other info]
SF #00413746

Erni Sri Satya Vennela (5):
  net: mana: Fix potential deadlocks in mana napi ops
  net: mana: Add support for net_shaper_ops
  net: mana: Add speed support in mana_get_link_ksettings
  net: mana: Handle unsupported HWC commands
  net: mana: Fix build errors when CONFIG_NET_SHAPER is disabled

 drivers/net/ethernet/microsoft/Kconfig        |   1 +
 .../net/ethernet/microsoft/mana/hw_channel.c  |   4 +
 drivers/net/ethernet/microsoft/mana/mana_en.c | 195 +++++++++++++++++-
 .../ethernet/microsoft/mana/mana_ethtool.c    |   6 +
 include/net/mana/gdma.h                       |   1 +
 include/net/mana/mana.h                       |  42 ++++
 6 files changed, 240 insertions(+), 9 deletions(-)

-- 
2.45.2




More information about the kernel-team mailing list