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

2016-03-25 Thread Bruce Richardson
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 rx

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

2016-03-25 Thread Olivier Matz
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 re