RE: [PATCH net-next v2] net: mana: Extend RX CQE coalescing up to 8 packets

Haiyang Zhang <[email protected]>
Newsgroups org.kernel.vger.linux-rdma,org.kernel.vger.linux-hyperv,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <LV5PR21MB4704A42FB91A2F30C4AADE3CCAD32@LV5PR21MB4704.namprd21.prod.outlook.com>

> -----Original Message-----
> From: Haiyang Zhang <[email protected]>
> Sent: Friday, July 31, 2026 5:23 PM
> To: [email protected]; [email protected]; KY Srinivasan
> <[email protected]>; Haiyang Zhang <[email protected]>; Wei Liu
> <[email protected]>; Dexuan Cui <[email protected]>; Long Li
> <[email protected]>; Andrew Lunn <[email protected]>; David S.
> Miller <[email protected]>; Eric Dumazet <[email protected]>; Jakub
> Kicinski <[email protected]>; Paolo Abeni <[email protected]>; Konstantin
> Taranov <[email protected]>; Simon Horman <[email protected]>; Erni
> Sri Satya Vennela <[email protected]>; Dipayaan Roy
> <[email protected]>; Aditya Garg
> <[email protected]>; Breno Leitao <[email protected]>; linux-
> [email protected]; [email protected]
> Cc: Paul Rosswurm <[email protected]>
> Subject: [PATCH net-next v2] net: mana: Extend RX CQE coalescing up to 8
> packets
> 
> From: Haiyang Zhang <[email protected]>
> 
> To support up to 8 packets per CQE, update related CQE processing
> code and structures.
> Update ethtool handlers to set this feature.
> Update per queue stat to show the coalesced CQE counters.
> This feature is supported on NIC hardware showing the relevant
> PF flag.
> 
> Signed-off-by: Haiyang Zhang <[email protected]>
> ---
> v2:
>   Updated PF flag hanlding, and comments based on AI review.
> 
> ---
>  drivers/net/ethernet/microsoft/mana/mana_en.c | 137 ++++++++++++------
>  .../ethernet/microsoft/mana/mana_ethtool.c    |  29 +++-
>  include/net/mana/gdma.h                       |   4 +
>  include/net/mana/mana.h                       |  44 ++++--
>  4 files changed, 150 insertions(+), 64 deletions(-)
> 

Sent out v3 based on the latest net-next.
- Haiyang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.