From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id 2DC69F64 for ; Mon, 30 Apr 2018 16:08:01 +0200 (CEST) Received: by mail-wr0-f193.google.com with SMTP id i14-v6so5009336wre.2 for ; Mon, 30 Apr 2018 07:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qG6t4BdWwkPgPxyH9wleb0pGyweAiK2T8ijBTL4JIGY=; b=EgpHIpXzC7OE534mFYdluREc2DolTgKuYg6znomc5BshEqp+arZKXIik36tEKjFyhY qEACpxII/qGy720s6HExMkmYys5T+qnwhCJBVcPpmlxRYpW/qHPLeggUqTVX4CMp1PUT 61UzQkmfVGa1LkBvEJiRuJO02jiKT2WqDmh2elAsbFQf9YntxyVhSeQC8RDhcT4h9PQa FX89uPctICL2v7LIFSdow1BaMAHiKilNZVMkAlWMlSpBE95kI06PFVtDrUhqvNMievxb Gj1Tf/2OCRHUYQtfdwyJGkNpqtcgnrxJCqllrbDVny5pO6xHwjtUlLxjLFvp+TdnsDiG /Lgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qG6t4BdWwkPgPxyH9wleb0pGyweAiK2T8ijBTL4JIGY=; b=sPgzdPIhRlNe85lJCZE5rRi6Gmcst2E/Qklr0bw/Kz2z7NQcmA6xzxldLA0GVqUmI1 vED/FIb4fM+INgAj3XYRb0Gg5FnXPRUA740naE/NNpoQAJqvZCrtIqAJdX3W7ebf5ADO Fsc6bvzwWVEo6K4nNcwoaEdanhsHUgbil5B1LhupGNhZblK3OSHsiPgypOmxhFlqmTRs HVfqHcn1Aqmrueem6fPQrl4qSeqqg3YvYv7Rpi+VgKFwrYD0h10OtDizfwaMMldB1z1q 5RkmLnc5vkAzZh0rHn+KL48RFpKp4I+XpUfbDNOmYBcN5uF53TGwAQid8GLZ7dg/oWtD sxCQ== X-Gm-Message-State: ALQs6tCSD/jrmBatvuw8wOrZHvZL7UIJajLr00p4roSjCGdFq9FUixVq hWZDW7ZTMIT1rTGlk4AlcZ1r6ck1Viw= X-Google-Smtp-Source: AB8JxZr3deAm1UZpi4Yc0zzW5AbNB4uyt2yTGqmKtBIUQEQgfraRUKCCNcCypdIQq4rwnYEmRZM8Mw== X-Received: by 2002:adf:9bcd:: with SMTP id e13-v6mr9815583wrc.240.1525097280905; Mon, 30 Apr 2018 07:08:00 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id d9sm14423387wmh.38.2018.04.30.07.07.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:08:00 -0700 (PDT) From: luca.boccassi@gmail.com To: Tomasz Duszynski Cc: Marcin Wojtas , dpdk stable Date: Mon, 30 Apr 2018 15:03:39 +0100 Message-Id: <20180430140606.4615-61-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/mrvl: fix Rx descriptors number' has been queued to stable release 18.02.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: Mon, 30 Apr 2018 14:08:01 -0000 Hi, FYI, your patch has been queued to stable release 18.02.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 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 2854ba995ac4ab9d3857cdb8527139db0a31e38a 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 6c61124e4..0fd4585f5 100644 --- a/drivers/net/mrvl/mrvl_ethdev.c +++ b/drivers/net/mrvl/mrvl_ethdev.c @@ -1262,8 +1262,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.14.2