[PATCH 5/5] net/ice: limit the number of queues to sched capabilities
Stephen Hemminger
stephen at networkplumber.org
Wed Oct 9 19:49:45 CEST 2024
On Wed, 9 Oct 2024 18:08:22 +0100
Bruce Richardson <bruce.richardson at 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.richardson at intel.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list