[dpdk-dev,07/10] vhost: fix spelling errors
Commit Message
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(-)
@@ -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 */
@@ -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
@@ -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;