[dpdk-stable] patch 'net/bnxt: fix VNIC Rx queue count on VNIC free' has been queued to stable release 19.11.3

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue May 19 15:04:22 CEST 2020


Hi,

FYI, your patch has been queued to stable release 19.11.3

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/21/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Thanks.

Luca Boccassi

---
>From 26467e800b4f5281c41fa7ed3f61181d272cff99 Mon Sep 17 00:00:00 2001
From: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
Date: Thu, 23 Apr 2020 20:32:24 +0530
Subject: [PATCH] net/bnxt: fix VNIC Rx queue count on VNIC free

[ upstream commit bc75bdb60f4ea3eea4de76a60312711447055852 ]

bnxt_free_one_vnic and bnxt_setup_one_vnic are called on configuring
port vlan stripping. bnxt_setup_one_vnic keeps incrementing the
vnic rx_queue_cnt. Fix to reset vnic rx_queue_cnt in bnxt_free_one_vnic.

Fixes: cfadfee41ed1 ("net/bnxt: fix VLAN strip")

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur at broadcom.com>
---
 drivers/net/bnxt/bnxt_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 90e65d1a56..d05c291592 100644
--- a/drivers/net/bnxt/bnxt_ethdev.c
+++ b/drivers/net/bnxt/bnxt_ethdev.c
@@ -1940,6 +1940,8 @@ static int bnxt_free_one_vnic(struct bnxt *bp, uint16_t vnic_id)
 	rte_free(vnic->fw_grp_ids);
 	vnic->fw_grp_ids = NULL;
 
+	vnic->rx_queue_cnt = 0;
+
 	return 0;
 }
 
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-19 14:04:49.654603444 +0100
+++ 0127-net-bnxt-fix-VNIC-Rx-queue-count-on-VNIC-free.patch	2020-05-19 14:04:44.440652433 +0100
@@ -1,14 +1,15 @@
-From bc75bdb60f4ea3eea4de76a60312711447055852 Mon Sep 17 00:00:00 2001
+From 26467e800b4f5281c41fa7ed3f61181d272cff99 Mon Sep 17 00:00:00 2001
 From: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
 Date: Thu, 23 Apr 2020 20:32:24 +0530
 Subject: [PATCH] net/bnxt: fix VNIC Rx queue count on VNIC free
 
+[ upstream commit bc75bdb60f4ea3eea4de76a60312711447055852 ]
+
 bnxt_free_one_vnic and bnxt_setup_one_vnic are called on configuring
 port vlan stripping. bnxt_setup_one_vnic keeps incrementing the
 vnic rx_queue_cnt. Fix to reset vnic rx_queue_cnt in bnxt_free_one_vnic.
 
 Fixes: cfadfee41ed1 ("net/bnxt: fix VLAN strip")
-Cc: stable at dpdk.org
 
 Signed-off-by: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
 Reviewed-by: Somnath Kotur <somnath.kotur at broadcom.com>
@@ -17,10 +18,10 @@
  1 file changed, 2 insertions(+)
 
 diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
-index 6d42e3f85f..c2bee54d16 100644
+index 90e65d1a56..d05c291592 100644
 --- a/drivers/net/bnxt/bnxt_ethdev.c
 +++ b/drivers/net/bnxt/bnxt_ethdev.c
-@@ -2173,6 +2173,8 @@ static int bnxt_free_one_vnic(struct bnxt *bp, uint16_t vnic_id)
+@@ -1940,6 +1940,8 @@ static int bnxt_free_one_vnic(struct bnxt *bp, uint16_t vnic_id)
  	rte_free(vnic->fw_grp_ids);
  	vnic->fw_grp_ids = NULL;
  


More information about the stable mailing list