summaryrefslogtreecommitdiffstats
path: root/src/vnet/dpo
diff options
context:
space:
mode:
authorLijian.Zhang <Lijian.Zhang@arm.com>2019-09-16 16:22:36 +0800
committerNeale Ranns <nranns@cisco.com>2019-09-25 08:59:07 +0000
commit33af8c1ed89f15cf0601ee891e9603bef16f2c93 (patch)
treedfa3d9fe944cc1b12a5b4357067ed99e639a80d4 /src/vnet/dpo
parent896c896a3c4ed563a270281ff8b50fd253f4833f (diff)
fib: fix some typos in fib/mtrie
Type: fix Change-Id: I1af0e4a9bc23a3b6b6d3a74df093801ab6cae1f8 Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
Diffstat (limited to 'src/vnet/dpo')
-rw-r--r--src/vnet/dpo/dpo.h2
-rw-r--r--src/vnet/dpo/load_balance.c2
-rw-r--r--src/vnet/dpo/load_balance.h2
-rw-r--r--src/vnet/dpo/replicate_dpo.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/dpo/dpo.h b/src/vnet/dpo/dpo.h
index 73ad9ad0ff0..19b47f268b0 100644
--- a/src/vnet/dpo/dpo.h
+++ b/src/vnet/dpo/dpo.h
@@ -334,7 +334,7 @@ extern void dpo_stack(dpo_type_t child_type,
* VLIB graph arcs are created, from the child_node passed.
*
* @param child_node
- * The VLIB grpah node index to create an arc from to the parent
+ * The VLIB graph node index to create an arc from to the parent
*
* @param dpo
* This is the DPO to stack and set.
diff --git a/src/vnet/dpo/load_balance.c b/src/vnet/dpo/load_balance.c
index f244498a077..7acccca61bf 100644
--- a/src/vnet/dpo/load_balance.c
+++ b/src/vnet/dpo/load_balance.c
@@ -449,7 +449,7 @@ ip_multipath_normalize_next_hops (const load_balance_path_t * raw_next_hops,
/*
* when the weight skew is high (norm is small) and n == nf.
* without this correction the path with a low weight would have
- * no represenation in the load-balanace - don't want that.
+ * no representation in the load-balanace - don't want that.
* If the weight skew is high so the load-balance has many buckets
* to allow it. pays ya money takes ya choice.
*/
diff --git a/src/vnet/dpo/load_balance.h b/src/vnet/dpo/load_balance.h
index a204b7fdc58..5428e20e981 100644
--- a/src/vnet/dpo/load_balance.h
+++ b/src/vnet/dpo/load_balance.h
@@ -175,7 +175,7 @@ typedef struct load_balance_t_ {
} load_balance_t;
STATIC_ASSERT(sizeof(load_balance_t) <= CLIB_CACHE_LINE_BYTES,
- "A load_balance object size exceeds one cachline");
+ "A load_balance object size exceeds one cacheline");
/**
* Flags controlling load-balance formatting/display
diff --git a/src/vnet/dpo/replicate_dpo.h b/src/vnet/dpo/replicate_dpo.h
index 70faef3e28f..908c20c1d56 100644
--- a/src/vnet/dpo/replicate_dpo.h
+++ b/src/vnet/dpo/replicate_dpo.h
@@ -107,7 +107,7 @@ typedef struct replicate_t_ {
} replicate_t;
STATIC_ASSERT(sizeof(replicate_t) <= CLIB_CACHE_LINE_BYTES,
- "A replicate object size exceeds one cachline");
+ "A replicate object size exceeds one cacheline");
/**
* Flags controlling load-balance formatting/display