diff options
author | 2019-09-16 16:22:36 +0800 | |
---|---|---|
committer | 2019-10-03 08:43:47 +0000 | |
commit | e8bcb944c5a83e55060b721aaf0e870754f756c3 (patch) | |
tree | 66685d08e3d434e9a2d683fa7f3d719639f3d6b2 /src/vnet/ip/ip4_mtrie.h | |
parent | d46055e868b7e687f50866f8aa1cefc177836bc7 (diff) |
fib: fix some typos in fib/mtrie
Type: fix
Change-Id: I1af0e4a9bc23a3b6b6d3a74df093801ab6cae1f8
Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
(cherry picked from commit 33af8c1ed89f15cf0601ee891e9603bef16f2c93)
Diffstat (limited to 'src/vnet/ip/ip4_mtrie.h')
-rw-r--r-- | src/vnet/ip/ip4_mtrie.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/vnet/ip/ip4_mtrie.h b/src/vnet/ip/ip4_mtrie.h index 34b97dc1a9d..87e2b5892ba 100644 --- a/src/vnet/ip/ip4_mtrie.h +++ b/src/vnet/ip/ip4_mtrie.h @@ -108,7 +108,7 @@ typedef struct ip4_fib_mtrie_8_ply_t_ i32 n_non_empty_leafs; /** - * The length of the ply's coviering prefix. Also a measure of its depth + * The length of the ply's covering prefix. Also a measure of its depth * If a leaf in a slot has a mask length longer than this then it is * 'non-empty'. Otherwise it is the value of the cover. */ @@ -131,7 +131,7 @@ typedef struct /** * Embed the PLY with the mtrie struct. This means that the Data-plane * 'get me the mtrie' returns the first ply, and not an indirect 'pointer' - * to it. therefore no cachline misses in the data-path. + * to it. therefore no cacheline misses in the data-path. */ ip4_fib_mtrie_16_ply_t root_ply; } ip4_fib_mtrie_t; @@ -147,13 +147,13 @@ void ip4_mtrie_init (ip4_fib_mtrie_t * m); void ip4_mtrie_free (ip4_fib_mtrie_t * m); /** - * @brief Add a route/rntry to the mtrie + * @brief Add a route/entry to the mtrie */ void ip4_fib_mtrie_route_add (ip4_fib_mtrie_t * m, const ip4_address_t * dst_address, u32 dst_address_length, u32 adj_index); /** - * @brief remove a route/rntry to the mtrie + * @brief remove a route/entry to the mtrie */ void ip4_fib_mtrie_route_del (ip4_fib_mtrie_t * m, const ip4_address_t * dst_address, @@ -177,7 +177,7 @@ format_function_t format_ip4_fib_mtrie; extern ip4_fib_mtrie_8_ply_t *ip4_ply_pool; /** - * Is the leaf terminal (i.e. an LB index) or non-terminak (i.e. a PLY index) + * Is the leaf terminal (i.e. an LB index) or non-terminal (i.e. a PLY index) */ always_inline u32 ip4_fib_mtrie_leaf_is_terminal (ip4_fib_mtrie_leaf_t n) |