[PATCH v2 2/2] net/bonding: add command to set dedicated queue size

Stephen Hemminger stephen at networkplumber.org
Fri Dec 20 06:25:32 CET 2024


On Fri, 11 Oct 2024 11:24:12 +0800
Chaoyong He <chaoyong.he at corigine.com> wrote:

> From: Long Wu <long.wu at corigine.com>
> 
> The testpmd application can not modify the value of
> dedicated hardware Rx/Tx queue size, and hardcoded
> them as (128/512). This will cause the bonding port
> start fail if some NIC requires more Rx/Tx descriptors
> than the hardcoded number.
> 
> Therefore, add a command into testpmd application to
> support the modification of the size of the dedicated
> hardware Rx/Tx queue. Also export an external interface
> to also let other applications can change it.
> 
> Signed-off-by: Long Wu <long.wu at corigine.com>
> Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> ---

Seems this could just be a devarg to the bonding driver rather
than all the added cruft of making it a real API.


More information about the dev mailing list