APPLIED: [SRU][R/N/J:linux-azure][PATCH 0/2] net: mana: Avoid queue struct allocation failure under memory fragmentation

John Cabaj john.cabaj at canonical.com
Tue Jun 23 04:46:37 UTC 2026


On 6/10/26 3:31 PM, John Cabaj wrote:
> BugLink: https://bugs.launchpad.net/bugs/2155434
> 
> SRU Justification
> 
> [Impact]
> 
> * Request from Microsoft to backport a couple of MANA patches to provide better memory allocation around fragmented memory.
> 
> [Fix]
> 
> * Resolute:
>    - Clean cherry-pick of linux-next patches:
>      - 3af0820c878e "net: mana: Use kvmalloc for large RX queue and buffer allocations"
>      - d07efe5a6e64: "net: mana: Use per-queue allocation for tx_qp to reduce allocation size"
> * Questing/Noble/Jammy:
>    - Semi-straightforward backport of linux-next patches:
>      - 3af0820c878e "net: mana: Use kvmalloc for large RX queue and buffer allocations"
>      - d07efe5a6e64: "net: mana: Use per-queue allocation for tx_qp to reduce allocation size"
> 
> [Test Plan]
> 
> * Compile tested
> * Boot tested
> * Microsoft tested
> 
> [Regression potential]
> 
> * Patches isolated to MANA specifically. Issues in memory allocation could cause kernel panics, so these should be tested substantially.
> 
> [Other info]
> 
> * SF#00439526
> 
> Aditya Garg (2):
>    net: mana: Use kvmalloc for large RX queue and buffer allocations
>    net: mana: Use per-queue allocation for tx_qp to reduce allocation
>      size
> 
>   .../net/ethernet/microsoft/mana/mana_bpf.c    |  2 +-
>   drivers/net/ethernet/microsoft/mana/mana_en.c | 61 +++++++++++--------
>   .../ethernet/microsoft/mana/mana_ethtool.c    |  2 +-
>   include/net/mana/mana.h                       |  2 +-
>   4 files changed, 39 insertions(+), 28 deletions(-)
> 

Applied to Resolute, Noble, and Jammy linux-azure master-next branches.


Thanks,
j-c




More information about the kernel-team mailing list