From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id CAC4C2661; Thu, 9 Aug 2018 12:20:24 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 56C2B21820; Thu, 9 Aug 2018 06:20:24 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 09 Aug 2018 06:20:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=we0wMp0xgcpzEkS5115IcmKVlA aRw7I1507CQ0yMaGM=; b=ZVjn69OPvOcCZW/ZeSm7mqnxb/1605dO9bEIULmNre 8u6kQx0N58qVughOCI/x4qfD1vgGGn4+kKi9u4aCeFs97NRYZzH+L5pvE6wOhgq/ P/psVMgEjpxGVkvvQf9wMf/kL1wW2hjQTRh+2xyDrtIQmMPv6bi17MP3Hf8w5Ld0 c= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=we0wMp 0xgcpzEkS5115IcmKVlAaRw7I1507CQ0yMaGM=; b=codUGklVSJZdl7nlHazJN3 9tEfPH5iiDzMGrMs7b30bPu3kymzsIq1FU5HVeuvIVHDIFPCOmpXcdqqp1fSmsgm lH2aNnd9GYzRkopxcnTC2S6BNkYW5eIJv21Zl2fXbChjtQFdxDBDu9amJd1FWxCF cHKVyyT66sROBKA0vS2RCMNeYEQsqCXdah0bseIfnIVHo3oncTtSu/gXUyO0Xn67 VTxbpC2mEFiMf6+0oL7/nSyJgq1SZxIiAmEWPvCTHFhNYthFnkJ4saQ0AAi9Aju7 SCyDQYqOW5cw3fOkq3Ma3STz8GPxIWWnhJEuusrFEzCk28glj+T7tEhnTXyDZ8hQ == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (114.149.6.93.rev.sfr.net [93.6.149.114]) by mail.messagingengine.com (Postfix) with ESMTPA id 7AB78E4074; Thu, 9 Aug 2018 06:20:23 -0400 (EDT) From: Thomas Monjalon To: Yongseok Koh Cc: dev@dpdk.org, shahafs@mellanox.com, stable@dpdk.org Date: Thu, 09 Aug 2018 12:20:21 +0200 Message-ID: <2263529.VItqKhgCph@xps> In-Reply-To: <20180808193247.16391-1-yskoh@mellanox.com> References: <20180808193247.16391-1-yskoh@mellanox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix minimum size of Multi-Packet Rx queue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2018 10:20:25 -0000 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