Re: [PATCH net-next v2 09/13] net: mana: share the EQ pool across a queue-set swap

Jakub Kicinski <[email protected]>
Newsgroups org.kernel.vger.linux-rdma,org.kernel.vger.linux-hyperv,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <[email protected]>
On Wed, 12 Aug 2026 22:04:14 -0700 Long Li wrote:
> Raising the channel count fails with -ENOSPC once the queue-set swap is
> in use:
> 
>   # ethtool -L ens1 combined 32
>   netlink error: No space left on device
>   mana 7870:00:00.0: No free MSI vectors available
> 
> Building a second set of EQs while the running set still held its own
> meant peak demand of old + new MSI-X vectors. With 32 usable vectors and
> a driver that comes up at 16 queues, 16 -> 17 already needs 33, so the
> advertised maximum is unreachable.
> 
> Make the EQ pool belong to the port rather than to a queue set, so both
> sets share it and peak usage is max(old, new) rather than the sum. The
> pool only ever grows, up to the maximum channel count ethtool reports,
> and is released on detach as before.

Warning: drivers/net/ethernet/microsoft/mana/mana_en.c:1909 No description found for return value of 'mana_grow_eqs'
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.