From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id CCFD8A09E1
	for <public@inbox.dpdk.org>; Fri, 13 Nov 2020 19:03:37 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id A94EDC876;
	Fri, 13 Nov 2020 19:03:36 +0100 (CET)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com
 [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 0EF874C96;
 Fri, 13 Nov 2020 19:03:32 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id 7BE8D5C00E7;
 Fri, 13 Nov 2020 13:03:30 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Fri, 13 Nov 2020 13:03:30 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=fm2; bh=
 Riac6kOqjsjmFDx7mjT5YMUmcxZx2lKLT3AZqrdAH3o=; b=i95ZKq4+BmkQlewD
 KqVUU5aBWERrvNPbf6yiBG8CSJOS8NDYbNtdYDLegf2+RLd23zOYjZeIu/vfGgPW
 FlO6KVKpWowIr/ulzkFB+Lo71CroqB4INOauECFBsJ0u/tv2Ys0zLzAGQGFtXPKf
 812FwMiCgh+YXb85NaWnWDdQ6ADZyFIANkhifQmNDfxwRzqDzJaw94dW+JUpQzaO
 9o/fq14Et9+TGr0hvCRRBhF62r7/F6Cooi7V81Dw3mKzloTrZ+dOhJyFzkvb+E9w
 3v56RGSYCVjCexpDssItrhy+lSeU7YjppNBZqU3XLMU79OtFsP4jZmg0rCpw8e5W
 OjtADA==
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-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm1; bh=Riac6kOqjsjmFDx7mjT5YMUmcxZx2lKLT3AZqrdAH
 3o=; b=ZbkeOoBF0PSPTFG+jerFZpGtSQlIIpJDvJfmudqC1k2qMqi+e9eFrYmDA
 bC9l4++a99ALgIuLEZcYgw/WdqpJtlItQDzm6JwS1m9pMILr9xCGIEG2RhLqRVTD
 2PD1eAV2Xsg4V9ZcwglJJ4pPy35eVaC+fraoQ725GLlU9yE/mSA0gikH3XLu6p9o
 Lc4e+aNcT74RpRVSyNzo7J8EpN5fF8NEIieduGy3vtH24OU1lHga1pJub3KFOk5u
 bG33/hI8HJcggqw1MK8HoXaDy7l6ySuoQNDIX56/p6XHtSV8IXouwCcnNi9Fy19/
 rRkLaq+iKQdVU9EJg36OkRZtVhogw==
X-ME-Sender: <xms:csquX1J2-kHXnhVZ_JpsoRnw2-zcWyExu3-63YQHY2ug7bKymP4P_g>
 <xme:csquXxIpgJVdYtJQhH1gVE7AiM_U4lviexFbl7mByLSFWC4Oeut3jJfNqCQOnuMo3
 RbOs8dw9Tu0a33Cgg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvhedguddtkecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej
 ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh
 fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr
 lhhonhdrnhgvth
X-ME-Proxy: <xmx:csquX9sAcDzWBThbceht7rfihmKqe26s1bI92-m6_fLJHqygcIXFGg>
 <xmx:csquX2aLPFXWzdNJYuVEtbIIJtuCA3Uz-FZhjXNUsaOaG5tpLl0b3A>
 <xmx:csquX8bCUOL9Ni_823yqmllpWn-YUHZ4WKepVXCBd46z-NBrQXMl9g>
 <xmx:csquXzWJDILGYS4HBXRoAmKId4JxfwR3nxTpqEfCU2fALuiDvTlHFQ>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id 5A58C3064AAE;
 Fri, 13 Nov 2020 13:03:29 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Alexander Kozyrev <akozyrev@nvidia.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, Raslan Darawsheh <rasland@nvidia.com>,
 Matan Azrad <matan@nvidia.com>, "stable@dpdk.org" <stable@dpdk.org>,
 Slava Ovsiienko <viacheslavo@nvidia.com>, asafp@nvidia.com
Date: Fri, 13 Nov 2020 19:03:26 +0100
Message-ID: <2754009.ZFEV6PmAG8@thomas>
In-Reply-To: <MWHPR12MB150129429FC7177631B6ADDADFE90@MWHPR12MB1501.namprd12.prod.outlook.com>
References: <20201105235856.25475-1-akozyrev@nvidia.com>
 <20201108042804.29039-1-akozyrev@nvidia.com>
 <MWHPR12MB150129429FC7177631B6ADDADFE90@MWHPR12MB1501.namprd12.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] net/mlx5: fix info about Rx
	descriptors for MPRQ
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

> > The number of descriptors configured is returned to a user via the rxq_info_get
> > API. This number is incorrect for MPRQ.
> > For SPRQ this number matches the number of mbufs allocated.
> > For MPRQ we have fewer external MPRQ buffers that can hold multiple
> > packets in strides of this big buffer. Take that into account and return the
> > number of MPRQ buffers multiplied by the number of strides in this case.
> > 
> > Fixes: 26f1bae837 ("net/mlx5: add Rx/Tx burst mode info")
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>

Applied in next-net-mlx, thanks.