summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/memif/memif.api2
-rw-r--r--src/plugins/memif/memif.c2
-rw-r--r--src/plugins/memif/node.c2
-rw-r--r--src/plugins/memif/socket.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/memif/memif.api b/src/plugins/memif/memif.api
index 1f2c547c740..9e32db5b470 100644
--- a/src/plugins/memif/memif.api
+++ b/src/plugins/memif/memif.api
@@ -116,7 +116,7 @@ autoreply define memif_delete
/** \brief Memory interface details structure
@param context - sender context, to match reply w/ request
@param socket_id - u32 used to identify the given socket filename
- @param socket_filename - correpsonding NUL terminated socket filename
+ @param socket_filename - corresponding NUL terminated socket filename
*/
define memif_socket_filename_details
{
diff --git a/src/plugins/memif/memif.c b/src/plugins/memif/memif.c
index e9bdf42bc2f..4deb46afd73 100644
--- a/src/plugins/memif/memif.c
+++ b/src/plugins/memif/memif.c
@@ -218,7 +218,7 @@ memif_int_fd_read_ready (clib_file_t * uf)
size = read (uf->file_descriptor, &b, sizeof (b));
if (size < 0)
{
- memif_log_debug (mif, "Failed to read form socket");
+ memif_log_debug (mif, "Failed to read from socket");
return 0;
}
diff --git a/src/plugins/memif/node.c b/src/plugins/memif/node.c
index 506d88af76d..7b341e4b077 100644
--- a/src/plugins/memif/node.c
+++ b/src/plugins/memif/node.c
@@ -205,7 +205,7 @@ memif_device_input_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
ring_size = 1 << mq->log2_ring_size;
mask = ring_size - 1;
- /* asume that somebody will want to add ethernet header on the packet
+ /* assume that somebody will want to add ethernet header on the packet
so start with IP header at offset 14 */
start_offset = (mode == MEMIF_INTERFACE_MODE_IP) ? 14 : 0;
diff --git a/src/plugins/memif/socket.c b/src/plugins/memif/socket.c
index 553a17576c8..5a381a7c7cd 100644
--- a/src/plugins/memif/socket.c
+++ b/src/plugins/memif/socket.c
@@ -363,7 +363,7 @@ memif_msg_receive_add_ring (memif_if_t * mif, memif_msg_t * msg, int fd)
mif->run.num_m2s_rings = vec_len (mif->tx_queues);
}
- // clear previous cache data if interface reconncected
+ // clear previous cache data if interface reconnected
clib_memset (mq, 0, sizeof (memif_queue_t));
mq->int_fd = fd;
mq->int_clib_file_index = ~0;