[dpdk-stable] patch 'regex/octeontx2: fix PCI table overflow' has been queued to stable release 20.11.1

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Feb 5 12:14:57 CET 2021


Hi,

FYI, your patch has been queued to stable release 20.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/07/21. 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/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/561b4a3458024edf3cb003bc7eafa1e02d60d57d

Thanks.

Luca Boccassi

---
>From 561b4a3458024edf3cb003bc7eafa1e02d60d57d Mon Sep 17 00:00:00 2001
From: Guy Kaneti <guyk at marvell.com>
Date: Sun, 3 Jan 2021 13:01:28 +0200
Subject: [PATCH] regex/octeontx2: fix PCI table overflow

[ upstream commit 86d8b57e37eaea344870ffdf7dd6ead814204096 ]

Sentinel was missing from pci_id_ree_table[] array initialization
which caused it to overflow.

Bugzilla ID: 603
Fixes: 4cd1c5fd9 ("regex/octeontx2: introduce REE driver")

Signed-off-by: Guy Kaneti <guyk at marvell.com>
---
 drivers/regex/octeontx2/otx2_regexdev.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/regex/octeontx2/otx2_regexdev.c b/drivers/regex/octeontx2/otx2_regexdev.c
index 39eed7a20d..b6e55853e9 100644
--- a/drivers/regex/octeontx2/otx2_regexdev.c
+++ b/drivers/regex/octeontx2/otx2_regexdev.c
@@ -988,6 +988,9 @@ static struct rte_pci_id pci_id_ree_table[] = {
 		RTE_PCI_DEVICE(PCI_VENDOR_ID_CAVIUM,
 				PCI_DEVID_OCTEONTX2_RVU_REE_PF)
 	},
+	{
+		.vendor_id = 0,
+	}
 };
 
 static struct rte_pci_driver otx2_regexdev_pmd = {
-- 
2.29.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-02-05 11:18:29.825553278 +0000
+++ 0011-regex-octeontx2-fix-PCI-table-overflow.patch	2021-02-05 11:18:28.590687000 +0000
@@ -1 +1 @@
-From 86d8b57e37eaea344870ffdf7dd6ead814204096 Mon Sep 17 00:00:00 2001
+From 561b4a3458024edf3cb003bc7eafa1e02d60d57d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 86d8b57e37eaea344870ffdf7dd6ead814204096 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list