Thread (16 messages) flat view 16 messages, 2 authors, 4d ago

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

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-08-17 23:41:42
Also in: linux-hyperv, linux-rdma, lkml

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'
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help