From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 79525A09E0; 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 9DFA4C868; Fri, 13 Nov 2020 19:03:34 +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: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddvhedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: 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 To: Alexander Kozyrev Cc: "dev@dpdk.org" , Raslan Darawsheh , Matan Azrad , "stable@dpdk.org" , Slava Ovsiienko , asafp@nvidia.com Date: Fri, 13 Nov 2020 19:03:26 +0100 Message-ID: <2754009.ZFEV6PmAG8@thomas> In-Reply-To: References: <20201105235856.25475-1-akozyrev@nvidia.com> <20201108042804.29039-1-akozyrev@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix info about Rx descriptors for MPRQ 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > 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 > Acked-by: Viacheslav Ovsiienko Applied in next-net-mlx, thanks.