From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id A6FE5E5D for ; Mon, 30 Apr 2018 16:43:29 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id f6so13606790wmc.4 for ; Mon, 30 Apr 2018 07:43:29 -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=3wxJYCRR92XRQLFyqDgKz5NYoFQb8RL0NMzR22uI2BM=; b=VdkaQNWQ/qPyzJUbYUutJivjQ02kJV+zUXzKMwUEvnhL+800jffMIPz5SZBLT7F6Zi pClXlBxNsFbK0o+dTlPhPFT8161pnjQoSKTwedGOdA94juny3pb+BWhw29fZke19JN8S 5LRbw8ko0M6kIDSQQulnjC5c5oz7Zme1LMwETU/BBK2PmC6w46GY9o1hqOxExbdOHhxr dCeom3PqDP+/FfHBikW6E1dz7apomqVtaMsEmU4u6xv7ypC1xAfV5bjj5f72w/qxAB7R YxcKIK6coaGx4nRmtWHsDy5RGt1RDX6oCZzS0vPKQhwapFJ/hen/gQs5IA99sQUed2gU GWtw== 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=3wxJYCRR92XRQLFyqDgKz5NYoFQb8RL0NMzR22uI2BM=; b=D67CJs01bexyMhfYlcrOnEb+Pu5Afam6QBxTouXyVWCoq5jLqOZVGTCLdjYvPkXAEf OKobQBEkMqtn/Eqz3t0HFFr9099sxXf8ihuebPf31JXUgXXIFIogo4Rrko7QUNpJWTWP qBxXdKR1zLy7jwyc/7IqsU5nZ5eB6Cd4rm+rqHamGbhSPfXcAwmaPppz3bsaO/SpRGro CNbjMRXzhOakgS2gqWFHoCKI2xngUccXKNBldbpjU3omaxTx8wK2cUTk3XXgUKyO7VWt /G5Hz4Ayo3EdHCLBq47SQfY6Ru/Na8cuwHagKjM+Qmt7aBBUu1zKk1d2AFEvPox45PXJ 8VFQ== X-Gm-Message-State: ALQs6tDzd1wRgSPc1c9PPqVqzyOWPNNANizMil1S8m0HwA8eZjeF5pUd gh7ncvyYP3h62gOtlgHTZyKkeeGcN3w= X-Google-Smtp-Source: AB8JxZqrcM4q7JI0VrWepED5emj1lkiRe2BwdvTXpJe2P2TtskEKfq16ofnVeLpcDqNthFobB16QyQ== X-Received: by 10.28.95.131 with SMTP id t125mr7819399wmb.124.1525099409349; Mon, 30 Apr 2018 07:43:29 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id w11-v6sm15890613wrn.86.2018.04.30.07.43.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:43:28 -0700 (PDT) From: luca.boccassi@gmail.com To: Ajit Khaparde Cc: dpdk stable Date: Mon, 30 Apr 2018 15:40:55 +0100 Message-Id: <20180430144223.18657-40-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430144223.18657-1-luca.boccassi@gmail.com> References: <20180430140606.4615-80-luca.boccassi@gmail.com> <20180430144223.18657-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/bnxt: fix Rx drop setting' 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:43:29 -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 82243daa4aeb70ef7b8e924306b5cd368e831c85 Mon Sep 17 00:00:00 2001 From: Ajit Khaparde Date: Sat, 7 Apr 2018 10:40:54 -0700 Subject: [PATCH] net/bnxt: fix Rx drop setting [ upstream commit d4cd95c645b5af9f7f480ba7fb6f4e4eee0e0e23 ] If Rx descriptors are not available, pkts are dropped by default. Fix rx_drop_en setting in bnxt_dev_info_get_op to reflect it. Fixes: 0a6d2a720078 ("net/bnxt: get device infos") Signed-off-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c index 0b2165326..8c1596e2a 100644 --- a/drivers/net/bnxt/bnxt_ethdev.c +++ b/drivers/net/bnxt/bnxt_ethdev.c @@ -454,7 +454,8 @@ static void bnxt_dev_info_get_op(struct rte_eth_dev *eth_dev, .wthresh = 0, }, .rx_free_thresh = 32, - .rx_drop_en = 0, + /* If no descriptors available, pkts are dropped by default */ + .rx_drop_en = 1, }; dev_info->default_txconf = (struct rte_eth_txconf) { -- 2.14.2