On Wed, 9 Oct 2024 18:08:22 +0100 Bruce Richardson <bruce.richard...@intel.com> wrote:
> Rather than assuming that each VSI can hold up to 256 queue pairs, > or the reported device limit, query the available nodes in the scheduler > tree to check that we are not overflowing the limit for number of > child scheduling nodes at each level. Do this by multiplying > max_children for each level beyond the VSI and using that as an > additional cap on the number of queues. > > Signed-off-by: Bruce Richardson <bruce.richard...@intel.com> Acked-by: Stephen Hemminger <step...@networkplumber.org>