aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/vxlan
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/vxlan')
-rw-r--r--src/vnet/vxlan/decap.c6
-rw-r--r--src/vnet/vxlan/vxlan.c12
-rw-r--r--src/vnet/vxlan/vxlan.h4
-rw-r--r--src/vnet/vxlan/vxlan_api.c2
4 files changed, 12 insertions, 12 deletions
diff --git a/src/vnet/vxlan/decap.c b/src/vnet/vxlan/decap.c
index 7c1b6b1c26c..3ae70c9f011 100644
--- a/src/vnet/vxlan/decap.c
+++ b/src/vnet/vxlan/decap.c
@@ -266,7 +266,7 @@ vxlan_input (vlib_main_t * vm,
u32 len0 = vlib_buffer_length_in_chain (vm, b[0]);
u32 len1 = vlib_buffer_length_in_chain (vm, b[1]);
- /* Validate VXLAN tunnel encap-fib index agaist packet */
+ /* Validate VXLAN tunnel encap-fib index against packet */
if (PREDICT_FALSE (error0 != 0))
{
next[0] = VXLAN_INPUT_NEXT_DROP;
@@ -293,7 +293,7 @@ vxlan_input (vlib_main_t * vm,
(rx_counter, thread_index, stats_t0->sw_if_index, 1, len0);
}
- /* Validate VXLAN tunnel encap-fib index agaist packet */
+ /* Validate VXLAN tunnel encap-fib index against packet */
if (PREDICT_FALSE (error1 != 0))
{
next[1] = VXLAN_INPUT_NEXT_DROP;
@@ -371,7 +371,7 @@ vxlan_input (vlib_main_t * vm,
error0 = t0 == 0 ? VXLAN_ERROR_NO_SUCH_TUNNEL : error0;
uword len0 = vlib_buffer_length_in_chain (vm, b[0]);
- /* Validate VXLAN tunnel encap-fib index agaist packet */
+ /* Validate VXLAN tunnel encap-fib index against packet */
if (PREDICT_FALSE (error0 != 0))
{
next[0] = VXLAN_INPUT_NEXT_DROP;
diff --git a/src/vnet/vxlan/vxlan.c b/src/vnet/vxlan/vxlan.c
index ce565541a37..0d5337ea146 100644
--- a/src/vnet/vxlan/vxlan.c
+++ b/src/vnet/vxlan/vxlan.c
@@ -513,8 +513,8 @@ int vnet_vxlan_add_del_tunnel
else
{
/* Multicast tunnel -
- * as the same mcast group can be used for mutiple mcast tunnels
- * with different VNIs, create the output fib adjecency only if
+ * as the same mcast group can be used for multiple mcast tunnels
+ * with different VNIs, create the output fib adjacency only if
* it does not already exist
*/
fib_protocol_t fp = fib_ip_proto (is_ip6);
@@ -830,7 +830,7 @@ vxlan_add_del_tunnel_command_fn (vlib_main_t * vm,
* Example of how to create a VXLAN Tunnel with a known name, vxlan_tunnel42:
* @cliexcmd{create vxlan tunnel src 10.0.3.1 dst 10.0.3.3 instance 42}
* Example of how to create a multicast VXLAN Tunnel with a known name, vxlan_tunnel23:
- * @cliexcmd{create vxlan tunnel src 10.0.3.1 group 239.1.1.1 GigabitEtherner0/8/0 instance 23}
+ * @cliexcmd{create vxlan tunnel src 10.0.3.1 group 239.1.1.1 GigabitEthernet0/8/0 instance 23}
* Example of how to delete a VXLAN Tunnel:
* @cliexcmd{create vxlan tunnel src 10.0.3.1 dst 10.0.3.3 vni 13 del}
?*/
@@ -996,7 +996,7 @@ set_ip4_vxlan_bypass (vlib_main_t * vm,
* ip4-lookup [2]
* @cliexend
*
- * Example of how to display the feature enabed on an interface:
+ * Example of how to display the feature enabled on an interface:
* @cliexstart{show ip interface features GigabitEthernet2/0/0}
* IP feature paths configured on GigabitEthernet2/0/0...
* ...
@@ -1053,7 +1053,7 @@ set_ip6_vxlan_bypass (vlib_main_t * vm,
* ip6-lookup [2]
* @cliexend
*
- * Example of how to display the feature enabed on an interface:
+ * Example of how to display the feature enabled on an interface:
* @cliexstart{show ip interface features GigabitEthernet2/0/0}
* IP feature paths configured on GigabitEthernet2/0/0...
* ...
@@ -1186,7 +1186,7 @@ vxlan_offload_command_fn (vlib_main_t * vm,
VLIB_CLI_COMMAND (vxlan_offload_command, static) = {
.path = "set flow-offload vxlan",
.short_help =
- "set flow-offload vxlan hw <inerface-name> rx <tunnel-name> [del]",
+ "set flow-offload vxlan hw <interface-name> rx <tunnel-name> [del]",
.function = vxlan_offload_command_fn,
};
/* *INDENT-ON* */
diff --git a/src/vnet/vxlan/vxlan.h b/src/vnet/vxlan/vxlan.h
index 2c309bb8242..7399b19e387 100644
--- a/src/vnet/vxlan/vxlan.h
+++ b/src/vnet/vxlan/vxlan.h
@@ -100,7 +100,7 @@ typedef struct
adj_index_t mcast_adj_index;
/**
- * The tunnel is a child of the FIB entry for its desintion. This is
+ * The tunnel is a child of the FIB entry for its destination. This is
* so it receives updates when the forwarding information for that entry
* changes.
* The tunnels sibling index on the FIB entry's dependency list.
@@ -178,7 +178,7 @@ typedef struct
u8 is_add;
/* we normally use is_ip4, but since this adds to the
- * structure, this seems less of abreaking change */
+ * structure, this seems less of a breaking change */
u8 is_ip6;
u32 instance;
ip46_address_t src, dst;
diff --git a/src/vnet/vxlan/vxlan_api.c b/src/vnet/vxlan/vxlan_api.c
index 41de44eba15..512cc896650 100644
--- a/src/vnet/vxlan/vxlan_api.c
+++ b/src/vnet/vxlan/vxlan_api.c
@@ -244,7 +244,7 @@ static void vl_api_vxlan_tunnel_dump_t_handler
/*
* vpe_api_hookup
* Add vpe's API message handlers to the table.
- * vlib has alread mapped shared memory and
+ * vlib has already mapped shared memory and
* added the client registration handlers.
* See .../vlib-api/vlibmemory/memclnt_vlib.c:memclnt_process()
*/