aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/span
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/span')
-rw-r--r--src/vnet/span/node.c2
-rw-r--r--src/vnet/span/span.api4
-rw-r--r--src/vnet/span/span_api.c2
-rw-r--r--src/vnet/span/span_doc.md8
4 files changed, 8 insertions, 8 deletions
diff --git a/src/vnet/span/node.c b/src/vnet/span/node.c
index 4ac3a1db496..67f1d6e42bb 100644
--- a/src/vnet/span/node.c
+++ b/src/vnet/span/node.c
@@ -44,7 +44,7 @@ format_span_trace (u8 * s, va_list * args)
}
#define foreach_span_error \
-_(HITS, "SPAN incomming packets processed")
+_(HITS, "SPAN incoming packets processed")
typedef enum
{
diff --git a/src/vnet/span/span.api b/src/vnet/span/span.api
index 7b2e47c9af5..90812438105 100644
--- a/src/vnet/span/span.api
+++ b/src/vnet/span/span.api
@@ -19,7 +19,7 @@ option version = "1.0.0";
/** \brief Enable/Disable span to mirror traffic from one interface to another
@param client_index - opaque cookie to identify the sender
@param context - sender context which was passed in the request
- @param sw_if_index_from - interface to be mirorred
+ @param sw_if_index_from - interface to be mirrored
@param sw_if_index_to - interface where the traffic is mirrored
@param state - 0 = disabled, 1 = rx enabled, 2 = tx enabled, 3 tx & rx enabled
@param is_l2 - 0 = mirror at hw device level, 1 = mirror at L2
@@ -46,7 +46,7 @@ define sw_interface_span_dump {
/** \brief Reply to SPAN dump request
@param context - sender context which was passed in the request
- @param sw_if_index_from - mirorred interface
+ @param sw_if_index_from - mirrored interface
@param sw_if_index_to - interface where the traffic is mirrored
@param state - 0 = disabled, 1 = rx enabled, 2 = tx enabled, 3 tx & rx enabled
@param is_l2 - 0 = mirrored at hw device level, 1 = mirrored at l2
diff --git a/src/vnet/span/span_api.c b/src/vnet/span/span_api.c
index f96d2677cf7..f05a1c5093e 100644
--- a/src/vnet/span/span_api.c
+++ b/src/vnet/span/span_api.c
@@ -110,7 +110,7 @@ vl_api_sw_interface_span_dump_t_handler (vl_api_sw_interface_span_dump_t * mp)
/*
* 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()
*/
diff --git a/src/vnet/span/span_doc.md b/src/vnet/span/span_doc.md
index 46480b2801a..9f1db0a6c90 100644
--- a/src/vnet/span/span_doc.md
+++ b/src/vnet/span/span_doc.md
@@ -6,11 +6,11 @@ Everything that is not directly obvious should come here.
## Switched Port Analyzer (SPAN)
Port mirroring is used on a network switch to send a copy of network packets seen on one switch port to a network monitoring connection on another switch port.
-Can be used by network engineers or administrators to measure performnce, analyze and debug data or diagnose errors on a network.
+Can be used by network engineers or administrators to measure performance, analyze and debug data or diagnose errors on a network.
### RX traffic node
-There is one static node to mirror incomming packets.
-* span-input: Creates a copy of incomming buffer due to incomming buffers can be reused internally.
+There is one static node to mirror incoming packets.
+* span-input: Creates a copy of incoming buffer due to incoming buffers can be reused internally.
Chaining: dpdk-input -> span-input ->
* original buffer is sent to ethernet-input for processing
@@ -26,7 +26,7 @@ SPAN supports the following CLI configuration commands:
destination <if-name>: monitoring interface name
disable: delete mirroring
-#### Enable/Disabl SPAN (API)
+#### Enable/Disable SPAN (API)
SPAN supports the following API configuration command:
sw_interface_span_enable_disable src GigabitEthernet0/8/0 dst GigabitEthernet0/9/0
sw_interface_span_enable_disable src_sw_if_index 1 dst_sw_if_index 2