git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: remove references to make from apps guide
[dpdk.git]
/
lib
/
librte_lpm
/
rte_lpm6.c
diff --git
a/lib/librte_lpm/rte_lpm6.c
b/lib/librte_lpm/rte_lpm6.c
index
f5979fb
..
37baabb
100644
(file)
--- 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
*
* Returns:
* 0 on success
- * -ENOSPC not enough
t
tbl8 left
+ * -ENOSPC not enough tbl8 left
*/
static int
simulate_add(struct rte_lpm6 *lpm, const uint8_t *masked_ip, uint8_t depth)
*/
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)
}
if (tbl8_available(lpm) < total_need_tbl_nb)
- /* not enough
t
tbl8 to add a rule */
+ /* not enough tbl8 to add a rule */
return -ENOSPC;
return 0;
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;
/* minus top level */
depth -= 24;
- /* i
n
terate through levels (tbl8s)
+ /* iterate through levels (tbl8s)
* until we reach the last one
*/
while (depth > 8) {
* until we reach the last one
*/
while (depth > 8) {