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

Haiyang Zhang <[email protected]> Fri, 31 Jul 2026 21:25:59 +0000
Newsgroups org.kernel.vger.linux-hyperv,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rdma,org.kernel.vger.netdev
Message-ID <LV5PR21MB470499130F3AB3029B375BE4CAC82@LV5PR21MB4704.namprd21.prod.outlook.com>

> -----Original Message-----
> From: Haiyang Zhang <[email protected]>
> Sent: Wednesday, July 29, 2026 6:52 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] net: mana: Extend RX CQE coalescing up to 8
> packets
>=20
> From: Haiyang Zhang <[email protected]>
>=20
> To support up to 8 packets per CQE, put two packet lengths and
> hash values into one PPI entry by using the reserved fields.
> 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.
>=20
> Signed-off-by: Haiyang Zhang <[email protected]>
> ---
>  drivers/net/ethernet/microsoft/mana/mana_en.c | 137 ++++++++++++------
>  .../ethernet/microsoft/mana/mana_ethtool.c    |  30 +++-
>  include/net/mana/gdma.h                       |   4 +
>  include/net/mana/mana.h                       |  43 ++++--
>  4 files changed, 150 insertions(+), 64 deletions(-)

I submitted v2 based on the AI review.