[dpdk-stable] patch 'net/bnxt: remove unused enum declaration' has been queued to stable release 19.11.4

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Jul 24 13:59:42 CEST 2020


Hi,

FYI, your patch has been queued to stable release 19.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/26/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 bfe54105c55a825330f3ada4243375b8972553eb Mon Sep 17 00:00:00 2001
From: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
Date: Thu, 9 Jul 2020 15:08:29 +0530
Subject: [PATCH] net/bnxt: remove unused enum declaration

[ upstream commit df3a6666cbc3d27177359ae74066b35811dc0418 ]

"enum bnxt_hw_context" is defined in the header file, but is not
used anywhere.

Fixes: 9738793f28ec ("net/bnxt: add VNIC functions and structs")

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
---
 drivers/net/bnxt/bnxt.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/net/bnxt/bnxt.h b/drivers/net/bnxt/bnxt.h
index 404d58a03..96e46868e 100644
--- a/drivers/net/bnxt/bnxt.h
+++ b/drivers/net/bnxt/bnxt.h
@@ -178,13 +178,6 @@ struct bnxt_led_cfg {
 #define BNXT_LED_DFLT_ENABLES(x)                        \
 	rte_cpu_to_le_32(BNXT_LED_DFLT_ENA << (BNXT_LED_DFLT_ENA_SHIFT * (x)))
 
-enum bnxt_hw_context {
-	HW_CONTEXT_NONE     = 0,
-	HW_CONTEXT_IS_RSS   = 1,
-	HW_CONTEXT_IS_COS   = 2,
-	HW_CONTEXT_IS_LB    = 3,
-};
-
 struct bnxt_vlan_table_entry {
 	uint16_t		tpid;
 	uint16_t		vid;
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-07-24 12:53:54.111406935 +0100
+++ 0144-net-bnxt-remove-unused-enum-declaration.patch	2020-07-24 12:53:48.483010111 +0100
@@ -1,13 +1,14 @@
-From df3a6666cbc3d27177359ae74066b35811dc0418 Mon Sep 17 00:00:00 2001
+From bfe54105c55a825330f3ada4243375b8972553eb Mon Sep 17 00:00:00 2001
 From: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
 Date: Thu, 9 Jul 2020 15:08:29 +0530
 Subject: [PATCH] net/bnxt: remove unused enum declaration
 
+[ upstream commit df3a6666cbc3d27177359ae74066b35811dc0418 ]
+
 "enum bnxt_hw_context" is defined in the header file, but is not
 used anywhere.
 
 Fixes: 9738793f28ec ("net/bnxt: add VNIC functions and structs")
-Cc: stable at dpdk.org
 
 Signed-off-by: Kalesh AP <kalesh-anakkur.purayil at broadcom.com>
 Reviewed-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
@@ -16,10 +17,10 @@
  1 file changed, 7 deletions(-)
 
 diff --git a/drivers/net/bnxt/bnxt.h b/drivers/net/bnxt/bnxt.h
-index f69ba2493..8325e8796 100644
+index 404d58a03..96e46868e 100644
 --- a/drivers/net/bnxt/bnxt.h
 +++ b/drivers/net/bnxt/bnxt.h
-@@ -183,13 +183,6 @@ struct bnxt_led_cfg {
+@@ -178,13 +178,6 @@ struct bnxt_led_cfg {
  #define BNXT_LED_DFLT_ENABLES(x)                        \
  	rte_cpu_to_le_32(BNXT_LED_DFLT_ENA << (BNXT_LED_DFLT_ENA_SHIFT * (x)))
  


More information about the stable mailing list