[dpdk-stable] patch 'lpm6: fix size of tbl8 group' has been queued to LTS release 18.11.9

Kevin Traynor ktraynor at redhat.com
Thu May 28 18:23:16 CEST 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.9

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

Thanks.

Kevin.

---
>From 460ab46f99543df4ca4a5a107f7eb1f2770e02b4 Mon Sep 17 00:00:00 2001
From: Alex Kiselev <alex at therouter.net>
Date: Wed, 8 Apr 2020 15:07:30 +0200
Subject: [PATCH] lpm6: fix size of tbl8 group

[ upstream commit 64c46bacf48550f09ef758a15cee9d3b6f443f59 ]

Fixes: e480688dce6d ("lpm6: add incremental update on delete")

Signed-off-by: Alex Kiselev <alex at therouter.net>
Acked-by: Andrzej Ostruszka <aostruszka at marvell.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 lib/librte_lpm/rte_lpm6.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c
index 6212003f4c..a71e63fa6f 100644
--- a/lib/librte_lpm/rte_lpm6.c
+++ b/lib/librte_lpm/rte_lpm6.c
@@ -726,5 +726,6 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl,
 					RTE_LPM6_TBL8_GROUP_NUM_ENTRIES;
 			memset(&lpm->tbl8[tbl8_group_start], 0,
-					  RTE_LPM6_TBL8_GROUP_NUM_ENTRIES);
+					RTE_LPM6_TBL8_GROUP_NUM_ENTRIES *
+					sizeof(struct rte_lpm6_tbl_entry));
 
 			/* init the new table's header:
-- 
2.21.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-28 17:13:03.717765447 +0100
+++ 0089-lpm6-fix-size-of-tbl8-group.patch	2020-05-28 17:12:59.183554545 +0100
@@ -1 +1 @@
-From 64c46bacf48550f09ef758a15cee9d3b6f443f59 Mon Sep 17 00:00:00 2001
+From 460ab46f99543df4ca4a5a107f7eb1f2770e02b4 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 64c46bacf48550f09ef758a15cee9d3b6f443f59 ]
+
@@ -7 +8,0 @@
-Cc: stable at dpdk.org
@@ -17 +18 @@
-index 1047efa8a5..f5979fb159 100644
+index 6212003f4c..a71e63fa6f 100644
@@ -20 +21 @@
-@@ -727,5 +727,6 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl,
+@@ -726,5 +726,6 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl,



More information about the stable mailing list