Re: [dpdk-dev] [PATCH] net/mlx5: fix minimum size of Multi-Packet Rx queue

2018-08-09 Thread Thomas Monjalon
08/08/2018 21:32, Yongseok Koh: > The size of Rx queue is determined by dividing the number of descriptors by > the number of strides. As device can't support single slot queue, if the > number of descriptors is same as the number of strides, MPRQ shouldn't be > enabled. Otherwise, this will cause

[dpdk-dev] [PATCH] net/mlx5: fix minimum size of Multi-Packet Rx queue

2018-08-08 Thread Yongseok Koh
The size of Rx queue is determined by dividing the number of descriptors by the number of strides. As device can't support single slot queue, if the number of descriptors is same as the number of strides, MPRQ shouldn't be enabled. Otherwise, this will cause HW fault. For example, if rxd is set to