diff mbox

[dpdk-dev,07/10] vhost: fix spelling errors

Message ID 1422737522-16481-7-git-send-email-stephen@networkplumber.org (mailing list archive)
State Changes Requested, archived
Headers show

Commit Message

Stephen Hemminger Jan. 31, 2015, 8:51 p.m. UTC
From: Stephen Hemminger <shemming@brocade.com>

More codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/librte_vhost/eventfd_link/eventfd_link.h | 2 +-
 lib/librte_vhost/rte_virtio_net.h            | 2 +-
 lib/librte_vhost/vhost_rxtx.c                | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/lib/librte_vhost/eventfd_link/eventfd_link.h b/lib/librte_vhost/eventfd_link/eventfd_link.h
index ea619ec..0711403 100644
--- a/lib/librte_vhost/eventfd_link/eventfd_link.h
+++ b/lib/librte_vhost/eventfd_link/eventfd_link.h
@@ -66,7 +66,7 @@ 
 #define EVENTFD_COPY 1
 
 /*
- * arguements for the EVENTFD_COPY ioctl
+ * arguments for the EVENTFD_COPY ioctl
  */
 struct eventfd_copy {
 	unsigned target_fd; /* fd in the target pid */
diff --git a/lib/librte_vhost/rte_virtio_net.h b/lib/librte_vhost/rte_virtio_net.h
index 0bf07c7..f4ebb07 100644
--- a/lib/librte_vhost/rte_virtio_net.h
+++ b/lib/librte_vhost/rte_virtio_net.h
@@ -188,7 +188,7 @@  int rte_vhost_driver_session_start(void);
 /**
  * This function adds buffers to the virtio devices RX virtqueue. Buffers can
  * be received from the physical port or from another virtual device. A packet
- * count is returned to indicate the number of packets that were succesfully
+ * count is returned to indicate the number of packets that were successfully
  * added to the RX queue.
  * @param queue_id
  *  virtio queue index in mq case
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index ccfd82f..7a2e935 100644
--- a/lib/librte_vhost/vhost_rxtx.c
+++ b/lib/librte_vhost/vhost_rxtx.c
@@ -45,7 +45,7 @@ 
 /**
  * This function adds buffers to the virtio devices RX virtqueue. Buffers can
  * be received from the physical port or from another virtio device. A packet
- * count is returned to indicate the number of packets that are succesfully
+ * count is returned to indicate the number of packets that are successfully
  * added to the RX queue. This function works when mergeable is disabled.
  */
 static inline uint32_t __attribute__((always_inline))
@@ -662,7 +662,7 @@  rte_vhost_dequeue_burst(struct virtio_net *dev, uint16_t queue_id,
 					if (seg_avail == 0) {
 						/*
 						 * The current segment hasn't
-						 * room to accomodate more
+						 * room to accommodate more
 						 * data.
 						 */
 						cur->data_len = seg_offset;