From d76de38676561c546cc3494b4deaf28c4a1011e4 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Thu, 2 Nov 2017 20:30:17 +0100 Subject: [PATCH] lib: fix some typos Signed-off-by: Thomas Monjalon Signed-off-by: Rami Rosen --- 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 +- lib/librte_kni/rte_kni.h | 2 +- 4 files changed, 4 insertions(+), 4 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 782350d14f..aa887a972d 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 fcba18d2f6..90106e6c9d 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 4369d9b8c1..7a206c56f0 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. diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/rte_kni.h index 87812cd55b..d1950791d1 100644 --- a/lib/librte_kni/rte_kni.h +++ b/lib/librte_kni/rte_kni.h @@ -118,7 +118,7 @@ void rte_kni_init(unsigned int max_kni_ifaces); * elements for each KNI interface allocated. * * @param pktmbuf_pool - * The mempool for allocting mbufs for packets. + * The mempool for allocating mbufs for packets. * @param conf * The pointer to the configurations of the KNI device. * @param ops -- 2.20.1