[PATCH v2 2/2] net/bonding: add command to set dedicated queue size
Stephen Hemminger
stephen at networkplumber.org
Wed Dec 4 17:00:43 CET 2024
On Wed, 4 Dec 2024 06:21:00 +0000
Chaoyong He <chaoyong.he at corigine.com> wrote:
> > The definition of what a "dedicated queue" is a bit confusing.
> > If it is only for LACP packets, it should never need to be very big.
> > Only under a mis-configuration and DoS kind of flood should there ever be
> > many packets.
>
> Yes, the dedicated queue is only for LACP packets now and it doesn't need be set very big.
>
> But if we use a hardware queue as the "dedicated queue", we must consider the hardware
> capability. The minimum queue size of some NICs may be larger than the hardcode dedicated
> queue size. In this case, I think it is better to add an interface to set the dedicated queue size.
How about using the existing descriptor queue limits api for that?
It is reported by info get
More information about the dev
mailing list