From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 3B3DF2B92 for ; Sun, 22 Apr 2018 17:11:19 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D1AF320FED; Sun, 22 Apr 2018 11:11:18 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 22 Apr 2018 11:11:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=7V8jgeec7SlQmQxDu eHaRZUB1gPo+gyVdj6I6ZBUSRU=; b=WGtK2v3uCiXPQ5Zkwt65IFysq/DAtRtWl GfGzMmKONeW3rnNM7ubsgkwpsKbQIg0CsXBqoSLOdMOpqd1H7vkF2QV4l3KUp2eG AQypPDGXNF7F4cesV+ZuyEE6oNqRTKhmKkt221Xp725ijae3ednYAmJcB7RmrYzw 07850dqWbMJ6jIFZ+62uH+snmT6HuPJzst9bqBiWvo84TjQJChEi9iygPRLDV3of QPkKWYwG8Q5Z8COSHq7uamN/4QLkefH0xtWwyLBoIEVF6M/V+p62P+nf7sDIEqRQ xYlZilRIkAIwSybSg0OAVNoVu7UNvynLwAMnJt72kJaaUXtD/j44w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=7V8jgeec7SlQmQxDueHaRZUB1gPo+gyVdj6I6ZBUSRU=; b=VAkRqJHg 8DYo8g32HVjectmJXzfGTNWvITvs/I3Bz5f7vLzOoMr5WI80U6UJk1obHuZd+2HO 4zeJ4hxYXvCRSRatHCb3mjGP+AuiXu/jyGA5sY3/7cet6kwgQBQs8ZP1z3rPR2ZZ HpN3YLPat9TVQ9BI6J48/SqC4Ozm8JZEjJjVWVvHUHhGTd6mc1Lkihzxu+emQniF 2LJ1+JQjjKIrINCKO1hE0CQX6X3VtV95YNhVxAoQWahUhixtT3Rk7COO+stZZolY yWkA3sZaDFQfckHWLS8C3P1Lnb79jDc39kgR6H0ohHCjEAFyuQtLwx/FXVzIc0N3 ZonHsvfukMbxvQ== X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.66]) by mail.messagingengine.com (Postfix) with ESMTPA id D9A5210253; Sun, 22 Apr 2018 11:11:16 -0400 (EDT) From: Yuanhan Liu To: Tomasz Duszynski Cc: Marcin Wojtas , dpdk stable Date: Sun, 22 Apr 2018 23:09:17 +0800 Message-Id: <20180422150949.17523-27-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180422150949.17523-1-yliu@fridaylinux.org> References: <20180422150949.17523-1-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/mrvl: fix Rx descriptors number' has been queued to LTS release 17.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2018 15:11:19 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/29/18. So please shout if anyone has objections. Thanks. --yliu --- >>From e280c61ef69ffff1de9bb01c402852c826d94fda Mon Sep 17 00:00:00 2001 From: Tomasz Duszynski Date: Thu, 15 Mar 2018 13:12:21 +0100 Subject: [PATCH] net/mrvl: fix Rx descriptors number [ upstream commit c3637258d8946ed3c490c358202baaaf673526ba ] Since filling hardware buffer pool (bpool) is Rx related constant describing maximum number of rx descriptors instead of maximum number of Tx descriptors should be used. Fixes: 0ddc9b815b11 ("net/mrvl: add net PMD skeleton") Signed-off-by: Marcin Wojtas Signed-off-by: Tomasz Duszynski --- drivers/net/mrvl/mrvl_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mrvl/mrvl_ethdev.c b/drivers/net/mrvl/mrvl_ethdev.c index fc34c5a32..d7e9cefaf 100644 --- a/drivers/net/mrvl/mrvl_ethdev.c +++ b/drivers/net/mrvl/mrvl_ethdev.c @@ -1218,8 +1218,8 @@ mrvl_vlan_filter_set(struct rte_eth_dev *dev, uint16_t vlan_id, int on) static int mrvl_fill_bpool(struct mrvl_rxq *rxq, int num) { - struct buff_release_entry entries[MRVL_PP2_TXD_MAX]; - struct rte_mbuf *mbufs[MRVL_PP2_TXD_MAX]; + struct buff_release_entry entries[MRVL_PP2_RXD_MAX]; + struct rte_mbuf *mbufs[MRVL_PP2_RXD_MAX]; int i, ret; unsigned int core_id; struct pp2_hif *hif; -- 2.11.0