From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by dpdk.org (Postfix) with ESMTP id E7ED52C72 for ; Wed, 23 May 2018 14:11:44 +0200 (CEST) Received: by mail-wr0-f196.google.com with SMTP id k5-v6so13972627wrn.3 for ; Wed, 23 May 2018 05:11:44 -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=s1fsWrMoaIpkOz/5WjxAXtaLA/qZv/T6Lu9DwH+lB+8=; b=jlLGTa6MkfT75vgIDgIl3PZNuGTQVOHyRD4tr1w5fgV6I/i5W8YHCa9Fh2gvFkk0lK FnnWXGjTKXDFQBfXp4KsNiCeycgLGi5VOkkazvnwhI7G5C1BEfo7Zl2c6RkF0rD9o1BX Wxgg8h79k5ByfOesN+tBhlIHtJ9JM4q0xDVIWsoRBFd+v4a7yoWIIRGaHE34jt1h85um YmuHDr7amK3VzWRZCNU4TGJlP/Gnwrn9RDJSKi4+xi6CwHsMzR73R+f8lHcQ37QkYbvz hAh+fRFykSQtLDX13XnmOf80onWhVI/gn6nXZVNDkxydbh37cRUQyNwfu+yjW2WDjHZ/ UTFg== 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=s1fsWrMoaIpkOz/5WjxAXtaLA/qZv/T6Lu9DwH+lB+8=; b=UNwNpSgudIAkP1T/he6ukyhqYa+pLz5V4vDrxiMA66uyapVXw1N9XRkY9p2t2UE0+c y654nCAaPYPU8XAogK4SdCaySHJfinZbpbWL214f+tH/mZ/jHzUYUgOZAm8s1c8Tto6R h2Buc4l9uTMyrR1Kba1o6ZkFT1tY22B502G5vKjhc4+Jubu4XSO+kNmB/iZeM+GuUvyr p+8qKmm5jdOwlsmpNlKgV9Dwa/Rad02HA19S7uZ1Fni3vZK4YFRP1CbOUIIIKGjun+t2 9P8lgO+6LTPozrieqhPKR2yaIOZ8cfxi5haOFySWFx/sHdMaYpo87sur0pwf4CI1k/bb VmhQ== X-Gm-Message-State: ALKqPwc40LC6gafX7jT6HwMckVTDH56JZ6EBitUcbJFMsfypEf995xD0 ZBWvrNBBBJ3UhVSNb5Y58YfAGJA4WPc= X-Google-Smtp-Source: AB8JxZpUmt3voc6HhsiQe/mvQTrTfQYWaGI8zQrXmw7A+UFFOTQFzdiDuh4Zsnz08JPPJXQg9ZX7+w== X-Received: by 2002:adf:c32b:: with SMTP id n40-v6mr1948615wrf.91.1527077504665; Wed, 23 May 2018 05:11:44 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id f3-v6sm309658wmf.38.2018.05.23.05.11.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 05:11:43 -0700 (PDT) From: luca.boccassi@gmail.com To: Ajit Khaparde Cc: dpdk stable Date: Wed, 23 May 2018 13:10:06 +0100 Message-Id: <20180523121010.8385-55-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180523121010.8385-1-luca.boccassi@gmail.com> References: <20180516101323.2234-2-luca.boccassi@gmail.com> <20180523121010.8385-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/bnxt: fix Tx and Rx burst for secondary process' 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: Wed, 23 May 2018 12:11:45 -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/25/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 2a10f7f2d963148d5575401c0104b5e399e9e57e Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Tue, 22 May 2018 11:13:42 -0700 Subject: [PATCH] net/bnxt: fix Tx and Rx burst for secondary process [ upstream commit 08aa0ebaca2ca9f39df89bccf87cd55baaa5b769 ] We were initializing Tx and Rx burst functions only for primary processes. Fixing it in this patch. Fixes: 88920136688c ("net/bnxt: support xstats get by id") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index a74afc831..58cfbf9c6 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -3136,10 +3136,10 @@ bnxt_dev_init(struct rte_eth_dev *eth_dev) } skip_init: eth_dev->dev_ops = &bnxt_dev_ops; - if (rte_eal_process_type() != RTE_PROC_PRIMARY) - return 0; eth_dev->rx_pkt_burst = &bnxt_recv_pkts; eth_dev->tx_pkt_burst = &bnxt_xmit_pkts; + if (rte_eal_process_type() != RTE_PROC_PRIMARY) + return 0; if (BNXT_PF(bp) && pci_dev->id.device_id != BROADCOM_DEV_ID_NS2) { snprintf(mz_name, RTE_MEMZONE_NAMESIZE, -- 2.14.2