Re: [PATCH net-next v2] net: mana: Extend RX CQE coalescing up to 8 packets
Breno Leitao <[email protected]> Wed, 5 Aug 2026 04:48:04 -0700
| Newsgroups | org.kernel.vger.linux-hyperv,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rdma,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 31, 2026 at 02:22:53PM -0700, Haiyang Zhang wrote: > 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]> Reviewed-by: Breno Leitao <[email protected]> > +/* 8-pkt mode packs up to 2 packets per PPI entry */ > +#define MANA_CQE_COAL_PKTS_8 8 nit: The name encodes the value, so a future 16-packet mode would need a second macro with the same role. Wouldn't something like MANA_RXCOMP_MAX_COAL_PKTS age better?