[dpdk-dev] [PATCH] lib: fix some typos

Thomas Monjalon thomas at monjalon.net
Thu Nov 2 20:30:56 CET 2017


Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 lib/librte_eal/common/include/arch/arm/rte_vect.h | 2 +-
 lib/librte_eventdev/rte_event_eth_rx_adapter.c    | 2 +-
 lib/librte_eventdev/rte_eventdev_pmd.h            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/librte_eal/common/include/arch/arm/rte_vect.h b/lib/librte_eal/common/include/arch/arm/rte_vect.h
index 782350d14..aa887a972 100644
--- a/lib/librte_eal/common/include/arch/arm/rte_vect.h
+++ b/lib/librte_eal/common/include/arch/arm/rte_vect.h
@@ -136,7 +136,7 @@ vgetq_lane_p64(poly64x2_t x, const int lane)
 #endif
 
 /*
- * If (0 <= index <= 15), then call the ASIMD ext intruction on the
+ * If (0 <= index <= 15), then call the ASIMD ext instruction on the
  * 128 bit regs v0 and v1 with the appropriate index.
  *
  * Else returns a zero vector.
diff --git a/lib/librte_eventdev/rte_event_eth_rx_adapter.c b/lib/librte_eventdev/rte_event_eth_rx_adapter.c
index fcba18d2f..90106e6c9 100644
--- a/lib/librte_eventdev/rte_event_eth_rx_adapter.c
+++ b/lib/librte_eventdev/rte_event_eth_rx_adapter.c
@@ -67,7 +67,7 @@ struct rte_event_eth_rx_adapter {
 	struct rte_eth_event_enqueue_buffer event_enqueue_buffer;
 	/* Per adapter stats */
 	struct rte_event_eth_rx_adapter_stats stats;
-	/* Block count, counts upto BLOCK_CNT_THRESHOLD */
+	/* Block count, counts up to BLOCK_CNT_THRESHOLD */
 	uint16_t enq_block_count;
 	/* Block start ts */
 	uint64_t rx_enq_block_start_ts;
diff --git a/lib/librte_eventdev/rte_eventdev_pmd.h b/lib/librte_eventdev/rte_eventdev_pmd.h
index 4369d9b8c..7a206c56f 100644
--- a/lib/librte_eventdev/rte_eventdev_pmd.h
+++ b/lib/librte_eventdev/rte_eventdev_pmd.h
@@ -481,7 +481,7 @@ struct rte_event_eth_rx_adapter_queue_conf *queue_conf;
  *   Ethernet device receive queue index
  *
  * @param queue_conf
- *  Additonal configuration structure
+ *  Additional configuration structure
 
  * @return
  *   - 0: Success, ethernet receive queue added successfully.
-- 
2.14.2



More information about the dev mailing list