[dpdk-stable] patch 'lpm6: fix comments spelling' has been queued to stable release 19.11.3

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue May 19 15:04:14 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 32688549a0bda75e02ea46b895814cdd03bc9e86 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Tue, 10 Mar 2020 09:26:22 -0700
Subject: [PATCH] lpm6: fix comments spelling

[ upstream commit e2635408a0e3e190c22362e8dd4f8226f6e73308 ]

Fix spelling errors in comments.

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

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 lib/librte_lpm/rte_lpm6.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c
index 2e3efc7186..6e1b18d6fd 100644
--- a/lib/librte_lpm/rte_lpm6.c
+++ b/lib/librte_lpm/rte_lpm6.c
@@ -814,7 +814,7 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl,
  *
  *	Returns:
  *    0 on success
- *    -ENOSPC not enought tbl8 left
+ *    -ENOSPC not enough tbl8 left
  */
 static int
 simulate_add(struct rte_lpm6 *lpm, const uint8_t *masked_ip, uint8_t depth)
@@ -844,7 +844,7 @@ simulate_add(struct rte_lpm6 *lpm, const uint8_t *masked_ip, uint8_t depth)
 	}
 
 	if (tbl8_available(lpm) < total_need_tbl_nb)
-		/* not enought tbl8 to add a rule */
+		/* not enough tbl8 to add a rule */
 		return -ENOSPC;
 
 	return 0;
@@ -1212,7 +1212,7 @@ rule_find_range(struct rte_lpm6 *lpm, const uint8_t *ip, uint8_t depth,
 		/* minus top level */
 		depth -= 24;
 
-		/* interate through levels (tbl8s)
+		/* iterate through levels (tbl8s)
 		 * until we reach the last one
 		 */
 		while (depth > 8) {
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-19 14:04:49.317631883 +0100
+++ 0119-lpm6-fix-comments-spelling.patch	2020-05-19 14:04:44.388651490 +0100
@@ -1,12 +1,13 @@
-From e2635408a0e3e190c22362e8dd4f8226f6e73308 Mon Sep 17 00:00:00 2001
+From 32688549a0bda75e02ea46b895814cdd03bc9e86 Mon Sep 17 00:00:00 2001
 From: Stephen Hemminger <stephen at networkplumber.org>
 Date: Tue, 10 Mar 2020 09:26:22 -0700
 Subject: [PATCH] lpm6: fix comments spelling
 
+[ upstream commit e2635408a0e3e190c22362e8dd4f8226f6e73308 ]
+
 Fix spelling errors in comments.
 
 Fixes: e480688dce6d ("lpm6: add incremental update on delete")
-Cc: stable at dpdk.org
 
 Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
 ---
@@ -14,7 +15,7 @@
  1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/lib/librte_lpm/rte_lpm6.c b/lib/librte_lpm/rte_lpm6.c
-index f5979fb159..37baabb26d 100644
+index 2e3efc7186..6e1b18d6fd 100644
 --- a/lib/librte_lpm/rte_lpm6.c
 +++ b/lib/librte_lpm/rte_lpm6.c
 @@ -814,7 +814,7 @@ add_step(struct rte_lpm6 *lpm, struct rte_lpm6_tbl_entry *tbl,


More information about the stable mailing list