[dpdk-stable] patch 'net/bnx2x: add QLogic vendor id for BCM57840' has been queued to LTS release 18.11.11
Kevin Traynor
ktraynor at redhat.com
Wed Nov 18 17:35:02 CET 2020
Hi,
FYI, your patch has been queued to LTS release 18.11.11
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/24/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.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/681f5a65b32aa22da09989a8cb3598ea4cca7a0c
Thanks.
Kevin.
---
>From 681f5a65b32aa22da09989a8cb3598ea4cca7a0c Mon Sep 17 00:00:00 2001
From: Rasesh Mody <rmody at marvell.com>
Date: Mon, 12 Oct 2020 15:48:14 -0700
Subject: [PATCH] net/bnx2x: add QLogic vendor id for BCM57840
[ upstream commit 9bb607af360e4572e0b64bc2a3edc8c8c6e9e14b ]
Add QLogic vendor id support for BCM57840 device ids.
Fixes: 9fb557035d90 ("bnx2x: enable PMD build")
Reported-by: Souvik Dey <sodey at rbbn.com>
Signed-off-by: Rasesh Mody <rmody at marvell.com>
---
drivers/net/bnx2x/bnx2x_ethdev.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c
index 5cff77337a..369ab8135b 100644
--- a/drivers/net/bnx2x/bnx2x_ethdev.c
+++ b/drivers/net/bnx2x/bnx2x_ethdev.c
@@ -20,4 +20,5 @@ int bnx2x_logtype_driver;
*/
#define BROADCOM_PCI_VENDOR_ID 0x14E4
+#define QLOGIC_PCI_VENDOR_ID 0x1077
static const struct rte_pci_id pci_id_bnx2x_map[] = {
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57800) },
@@ -27,4 +28,5 @@ static const struct rte_pci_id pci_id_bnx2x_map[] = {
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57840_OBS) },
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57840_4_10) },
+ { RTE_PCI_DEVICE(QLOGIC_PCI_VENDOR_ID, CHIP_NUM_57840_4_10) },
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57840_2_20) },
#ifdef RTE_LIBRTE_BNX2X_MF_SUPPORT
@@ -32,4 +34,5 @@ static const struct rte_pci_id pci_id_bnx2x_map[] = {
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57811_MF) },
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57840_MF) },
+ { RTE_PCI_DEVICE(QLOGIC_PCI_VENDOR_ID, CHIP_NUM_57840_MF) },
#endif
{ .vendor_id = 0, }
@@ -41,4 +44,5 @@ static const struct rte_pci_id pci_id_bnx2xvf_map[] = {
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57811_VF) },
{ RTE_PCI_DEVICE(BROADCOM_PCI_VENDOR_ID, CHIP_NUM_57840_VF) },
+ { RTE_PCI_DEVICE(QLOGIC_PCI_VENDOR_ID, CHIP_NUM_57840_VF) },
{ .vendor_id = 0, }
};
--
2.26.2
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2020-11-18 16:33:38.280334567 +0000
+++ 0016-net-bnx2x-add-QLogic-vendor-id-for-BCM57840.patch 2020-11-18 16:33:37.917215054 +0000
@@ -1 +1 @@
-From 9bb607af360e4572e0b64bc2a3edc8c8c6e9e14b Mon Sep 17 00:00:00 2001
+From 681f5a65b32aa22da09989a8cb3598ea4cca7a0c Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 9bb607af360e4572e0b64bc2a3edc8c8c6e9e14b ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index 40225b2f44..ce9df87489 100644
+index 5cff77337a..369ab8135b 100644
@@ -21 +22 @@
-@@ -18,4 +18,5 @@
+@@ -20,4 +20,5 @@ int bnx2x_logtype_driver;
@@ -27 +28 @@
-@@ -25,4 +26,5 @@ static const struct rte_pci_id pci_id_bnx2x_map[] = {
+@@ -27,4 +28,5 @@ static const struct rte_pci_id pci_id_bnx2x_map[] = {
@@ -33 +34 @@
-@@ -30,4 +32,5 @@ static const struct rte_pci_id pci_id_bnx2x_map[] = {
+@@ -32,4 +34,5 @@ static const struct rte_pci_id pci_id_bnx2x_map[] = {
@@ -39 +40 @@
-@@ -39,4 +42,5 @@ static const struct rte_pci_id pci_id_bnx2xvf_map[] = {
+@@ -41,4 +44,5 @@ static const struct rte_pci_id pci_id_bnx2xvf_map[] = {
More information about the stable
mailing list