From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/mlx5: fix minimum size of Multi-Packet Rx queue Date: Thu, 09 Aug 2018 12:20:21 +0200 Message-ID: <2263529.VItqKhgCph@xps> References: <20180808193247.16391-1-yskoh@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, shahafs@mellanox.com, stable@dpdk.org To: Yongseok Koh Return-path: In-Reply-To: <20180808193247.16391-1-yskoh@mellanox.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 HW fault. For example, if rxd is set to > 512 with testpmd on ConnectX-4 Lx, PMD can't receive more than 512 packets > because the minimum number of strides for ConnectX-4 Lx is 512. Users have > to configure larger number of descriptors in this case. > > Fixes: 7d6bf6b866b8 ("net/mlx5: add Multi-Packet Rx support") > Cc: stable@dpdk.org > > Signed-off-by: Yongseok Koh Applied, thanks