[dpdk-dev] [PATCH v2] mlx4: use dummy rxqs when a non-pow2 number is requested

Bruce Richardson bruce.richardson at intel.com
Fri Mar 25 16:18:58 CET 2016


On Fri, Mar 25, 2016 at 11:24:41AM +0100, Olivier Matz wrote:
> When using RSS, the number of rxqs has to be a power of two.
> This is a problem because there is no API in DPDK that makes
> the application aware of that.
> 
> A good compromise is to allow the application to request a
> number of rxqs that is not a power of 2, but having inactive
> queues that will never receive packets. In this configuration,
> a warning will be issued to users to let them know that
> this is not an optimal configuration.
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> Acked-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>

Applied to dpdk-next-net/rel_16_04

/Bruce


More information about the dev mailing list