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

Stephen Hemminger stephen at networkplumber.org
Sat Jan 31 21:51:59 CET 2015


From: Stephen Hemminger <shemming at brocade.com>

More codespell

Signed-off-by: Stephen Hemminger <stephen at 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 --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;
-- 
2.1.4



More information about the dev mailing list