DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 00/18] comment spelling errors
@ 2021-09-09 17:56 Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 01/18] node: fix typos Stephen Hemminger
                   ` (21 more replies)
  0 siblings, 22 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

After finding a few typos in BPF, decided to cast a
wider net and fix lots more places.  These are all contained
to typos in strings or comments.

Stephen Hemminger (18):
  node: fix typos
  ipsec: fix spelling errors
  eventdev: fix typo in comment
  power: fix typo in comment
  rcu: fix typo in comment
  bpf: fix spelling in comments
  acl: fix spelling errors
  eal: fix typos in comments
  net: fix spelling error in gtp comment
  bbdev: fix typo in comment
  pipeline: fix spellin error in comment
  hash: fix typo in comment
  rib: fix typo in comment
  sched: fix typo in comment
  vhost: fix typo in comment
  ip_frag: fix typos
  test: fix spelling errors in comments
  test-pmd: fix spelling errors in comments

 app/test-pmd/cmdline.c                    |  2 +-
 app/test-pmd/config.c                     |  4 ++--
 app/test-pmd/icmpecho.c                   |  2 +-
 app/test/test_atomic.c                    |  2 +-
 app/test/test_barrier.c                   |  2 +-
 app/test/test_bpf.c                       |  2 +-
 app/test/test_compressdev.c               |  2 +-
 app/test/test_compressdev_test_buffer.h   |  4 ++--
 app/test/test_func_reentrancy.c           |  6 +++---
 app/test/test_ipsec.c                     |  2 +-
 app/test/test_link_bonding.c              |  2 +-
 app/test/test_lpm.c                       |  6 +++---
 app/test/test_lpm6.c                      | 14 +++++++-------
 app/test/test_malloc.c                    |  4 ++--
 app/test/test_mbuf.c                      |  2 +-
 app/test/test_mempool.c                   |  2 +-
 app/test/test_mempool_perf.c              |  2 +-
 app/test/test_meter.c                     |  6 +++---
 app/test/test_pmd_perf.c                  |  2 +-
 app/test/test_timer.c                     |  2 +-
 lib/acl/acl.h                             |  4 ++--
 lib/acl/acl_bld.c                         |  2 +-
 lib/acl/acl_run_avx2.h                    |  2 +-
 lib/bbdev/rte_bbdev.c                     |  2 +-
 lib/bpf/bpf_jit_x86.c                     |  2 +-
 lib/bpf/bpf_validate.c                    |  4 ++--
 lib/eal/include/rte_function_versioning.h |  2 +-
 lib/eal/windows/include/fnmatch.h         |  2 +-
 lib/eventdev/rte_event_timer_adapter.c    |  2 +-
 lib/hash/rte_thash.c                      |  2 +-
 lib/ip_frag/rte_ipv4_reassembly.c         |  2 +-
 lib/ipsec/esp_inb.c                       |  4 ++--
 lib/ipsec/esp_outb.c                      |  2 +-
 lib/ipsec/ipsec_sad.c                     |  2 +-
 lib/ipsec/sa.c                            |  2 +-
 lib/ipsec/sa.h                            |  2 +-
 lib/net/rte_gtp.h                         |  6 +++---
 lib/node/ethdev_rx_priv.h                 |  2 +-
 lib/node/ethdev_tx_priv.h                 |  2 +-
 lib/node/ip4_rewrite_priv.h               |  2 +-
 lib/pipeline/rte_swx_pipeline.h           |  2 +-
 lib/power/power_acpi_cpufreq.c            |  2 +-
 lib/rcu/rte_rcu_qsbr.h                    |  2 +-
 lib/rib/rte_rib6.c                        |  2 +-
 lib/sched/rte_sched.c                     |  2 +-
 lib/vhost/rte_vhost.h                     |  4 ++--
 46 files changed, 67 insertions(+), 67 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 01/18] node: fix typos
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 02/18] ipsec: fix spelling errors Stephen Hemminger
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Spelling errors in comments including doxygen

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/node/ethdev_rx_priv.h   | 2 +-
 lib/node/ethdev_tx_priv.h   | 2 +-
 lib/node/ip4_rewrite_priv.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/node/ethdev_rx_priv.h b/lib/node/ethdev_rx_priv.h
index efcd66dd4817..76cf77d60315 100644
--- a/lib/node/ethdev_rx_priv.h
+++ b/lib/node/ethdev_rx_priv.h
@@ -71,7 +71,7 @@ struct ethdev_rx_node_main *ethdev_rx_get_node_data_get(void);
  *
  * Get the Ethernet Rx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Rx node.
  */
 struct rte_node_register *ethdev_rx_node_get(void);
diff --git a/lib/node/ethdev_tx_priv.h b/lib/node/ethdev_tx_priv.h
index 586bff44a737..9ced520bd209 100644
--- a/lib/node/ethdev_tx_priv.h
+++ b/lib/node/ethdev_tx_priv.h
@@ -50,7 +50,7 @@ struct ethdev_tx_node_main *ethdev_tx_node_data_get(void);
  *
  * Get the Ethernet Tx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Tx node.
  */
 struct rte_node_register *ethdev_tx_node_get(void);
diff --git a/lib/node/ip4_rewrite_priv.h b/lib/node/ip4_rewrite_priv.h
index 80f0abdc94eb..036469746b29 100644
--- a/lib/node/ip4_rewrite_priv.h
+++ b/lib/node/ip4_rewrite_priv.h
@@ -53,7 +53,7 @@ struct ip4_rewrite_node_main {
  *
  * Get the ipv4 rewrite node.
  *
- * @retrun
+ * @return
  *   Pointer to the ipv4 rewrite node.
  */
 struct rte_node_register *ip4_rewrite_node_get(void);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 02/18] ipsec: fix spelling errors
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 01/18] node: fix typos Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 03/18] eventdev: fix typo in comment Stephen Hemminger
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Lots of typos in comments found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/ipsec/esp_inb.c   | 4 ++--
 lib/ipsec/esp_outb.c  | 2 +-
 lib/ipsec/ipsec_sad.c | 2 +-
 lib/ipsec/sa.c        | 2 +-
 lib/ipsec/sa.h        | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c
index 2b1df6a032a8..846fc0ea71a2 100644
--- a/lib/ipsec/esp_inb.c
+++ b/lib/ipsec/esp_inb.c
@@ -415,7 +415,7 @@ trs_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml,
 
 /*
  * packet checks for tunnel mode:
- * - same as for trasnport mode
+ * - same as for transport mode
  * - esp tail next proto contains expected for that SA value
  */
 static inline int32_t
@@ -501,7 +501,7 @@ trs_process_step3(struct rte_mbuf *mb)
 static inline void
 tun_process_step3(struct rte_mbuf *mb, uint64_t txof_msk, uint64_t txof_val)
 {
-	/* reset mbuf metatdata: L2/L3 len, packet type */
+	/* reset mbuf metadata: L2/L3 len, packet type */
 	mb->packet_type = RTE_PTYPE_UNKNOWN;
 	mb->tx_offload = (mb->tx_offload & txof_msk) | txof_val;
 
diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c
index 1e181cf2cee4..0bf3cd6bd4da 100644
--- a/lib/ipsec/esp_outb.c
+++ b/lib/ipsec/esp_outb.c
@@ -525,7 +525,7 @@ cpu_outb_trs_pkt_prepare(const struct rte_ipsec_session *ss,
 
 /*
  * process outbound packets for SA with ESN support,
- * for algorithms that require SQN.hibits to be implictly included
+ * for algorithms that require SQN.hibits to be implicitly included
  * into digest computation.
  * In that case we have to move ICV bytes back to their proper place.
  */
diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c
index 3f9533c80a68..531e1e323cdc 100644
--- a/lib/ipsec/ipsec_sad.c
+++ b/lib/ipsec/ipsec_sad.c
@@ -62,7 +62,7 @@ EAL_REGISTER_TAILQ(rte_ipsec_sad_tailq)
  * Inserts a rule into an appropriate hash table,
  * updates the value for a given SPI in SPI_ONLY hash table
  * reflecting presence of more specific rule type in two LSBs.
- * Updates a counter that reflects the number of rules whith the same SPI.
+ * Updates a counter that reflects the number of rules with the same SPI.
  */
 static inline int
 add_specific(struct rte_ipsec_sad *sad, const void *key,
diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c
index e59189d215b3..f49b3ec15d4f 100644
--- a/lib/ipsec/sa.c
+++ b/lib/ipsec/sa.c
@@ -126,7 +126,7 @@ ipsec_sa_size(uint64_t type, uint32_t *wnd_sz, uint32_t *nb_bucket)
 		/*
 		 * RFC 4303 recommends 64 as minimum window size.
 		 * there is no point to use ESN mode without SQN window,
-		 * so make sure we have at least 64 window when ESN is enalbed.
+		 * so make sure we have at least 64 window when ESN is enabled.
 		 */
 		wsz = ((type & RTE_IPSEC_SATP_ESN_MASK) ==
 			RTE_IPSEC_SATP_ESN_DISABLE) ?
diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h
index 1bffe751f586..b8ce4e958119 100644
--- a/lib/ipsec/sa.h
+++ b/lib/ipsec/sa.h
@@ -116,7 +116,7 @@ struct rte_ipsec_sa {
 	 * In case of SA handled by multiple threads *sqn* cacheline
 	 * could be shared by multiple cores.
 	 * To minimise performance impact, we try to locate in a separate
-	 * place from other frequently accesed data.
+	 * place from other frequently accessed data.
 	 */
 	union {
 		uint64_t outb;
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 03/18] eventdev: fix typo in comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 01/18] node: fix typos Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 02/18] ipsec: fix spelling errors Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 04/18] power: " Stephen Hemminger
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Typo in comment found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eventdev/rte_event_timer_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/eventdev/rte_event_timer_adapter.c b/lib/eventdev/rte_event_timer_adapter.c
index ee20b39f4b24..b5c2dc1427c6 100644
--- a/lib/eventdev/rte_event_timer_adapter.c
+++ b/lib/eventdev/rte_event_timer_adapter.c
@@ -493,7 +493,7 @@ event_buffer_flush(struct event_buffer *bufp, uint8_t dev_id, uint8_t port_id,
 
 	RTE_ASSERT(head_idx < EVENT_BUFFER_SZ && tail_idx < EVENT_BUFFER_SZ);
 
-	/* Determine the largest contigous run we can attempt to enqueue to the
+	/* Determine the largest contiguous run we can attempt to enqueue to the
 	 * event device.
 	 */
 	if (head_idx > tail_idx)
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 04/18] power: fix typo in comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (2 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 03/18] eventdev: fix typo in comment Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 05/18] rcu: " Stephen Hemminger
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

More spelling errors caught by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/power/power_acpi_cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/power/power_acpi_cpufreq.c b/lib/power/power_acpi_cpufreq.c
index 1e8aeb84037c..402ed8c99b42 100644
--- a/lib/power/power_acpi_cpufreq.c
+++ b/lib/power/power_acpi_cpufreq.c
@@ -159,7 +159,7 @@ power_get_available_freqs(struct acpi_power_info *pi)
 		goto out;
 	}
 
-	/* Store the available frequncies into power context */
+	/* Store the available frequencies into power context */
 	for (i = 0, pi->nb_freqs = 0; i < count; i++) {
 		POWER_DEBUG_TRACE("Lcore %u frequency[%d]: %s\n", pi->lcore_id,
 				i, freqs[i]);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 05/18] rcu: fix typo in comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (3 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 04/18] power: " Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 06/18] bpf: fix spelling in comments Stephen Hemminger
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Another codespell find.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rcu/rte_rcu_qsbr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h
index 18811c1cc106..62a420a785fc 100644
--- a/lib/rcu/rte_rcu_qsbr.h
+++ b/lib/rcu/rte_rcu_qsbr.h
@@ -362,7 +362,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v, unsigned int thread_id)
 
 	/* The reader can go offline only after the load of the
 	 * data structure is completed. i.e. any load of the
-	 * data strcture can not move after this store.
+	 * data structure can not move after this store.
 	 */
 
 	__atomic_store_n(&v->qsbr_cnt[thread_id].cnt,
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 06/18] bpf: fix spelling in comments
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (4 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 05/18] rcu: " Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 07/18] acl: fix spelling errors Stephen Hemminger
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Found by running codespell on the bpf implementation.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/bpf/bpf_jit_x86.c  | 2 +-
 lib/bpf/bpf_validate.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c
index aa22ea78a01d..518513376a67 100644
--- a/lib/bpf/bpf_jit_x86.c
+++ b/lib/bpf/bpf_jit_x86.c
@@ -1245,7 +1245,7 @@ emit_epilog(struct bpf_jit_state *st)
 	uint32_t i;
 	int32_t spil, ofs;
 
-	/* if we allready have an epilog generate a jump to it */
+	/* if we already have an epilog generate a jump to it */
 	if (st->exit.num++ != 0) {
 		emit_abs_jmp(st, st->exit.off);
 		return;
diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c
index 7b1291b382e9..3e7d3d730637 100644
--- a/lib/bpf/bpf_validate.c
+++ b/lib/bpf/bpf_validate.c
@@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = {
 
 /*
  * make sure that instruction syntax is valid,
- * and it fields don't violate partciular instrcution type restrictions.
+ * and it fields don't violate particular instruction type restrictions.
  */
 static const char *
 check_syntax(const struct ebpf_insn *ins)
@@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf)
 
 		/*
 		 * construct CFG, jcc nodes have to outgoing edges,
-		 * 'exit' nodes - none, all others nodes have exaclty one
+		 * 'exit' nodes - none, all others nodes have exactly one
 		 * outgoing edge.
 		 */
 		switch (ins->code) {
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 07/18] acl: fix spelling errors
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (5 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 06/18] bpf: fix spelling in comments Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 08/18] eal: fix typos in comments Stephen Hemminger
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Lots of little typos in comments

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/acl/acl.h          | 4 ++--
 lib/acl/acl_bld.c      | 2 +-
 lib/acl/acl_run_avx2.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/acl/acl.h b/lib/acl/acl.h
index 4089ab2a0462..f5739a475cf0 100644
--- a/lib/acl/acl.h
+++ b/lib/acl/acl.h
@@ -45,7 +45,7 @@ struct rte_acl_bitset {
  * Each transition is 64 bit value with the following format:
  * | node_type_specific : 32 | node_type : 3 | node_addr : 29 |
  * For all node types except RTE_ACL_NODE_MATCH, node_addr is an index
- * to the start of the node in the transtions array.
+ * to the start of the node in the transitions array.
  * Few different node types are used:
  * RTE_ACL_NODE_MATCH:
  * node_addr value is and index into an array that contains the return value
@@ -66,7 +66,7 @@ struct rte_acl_bitset {
  * RTE_ACL_NODE_SINGLE:
  * always transitions to the same node regardless of the input value.
  * RTE_ACL_NODE_DFA:
- * that node consits of up to 256 transitions.
+ * that node consists of up to 256 transitions.
  * In attempt to conserve space all transitions are divided into 4 consecutive
  * groups, by 64 transitions per group:
  * group64[i] contains transitions[i * 64, .. i * 64 + 63].
diff --git a/lib/acl/acl_bld.c b/lib/acl/acl_bld.c
index da10864cd870..f316d3e875ef 100644
--- a/lib/acl/acl_bld.c
+++ b/lib/acl/acl_bld.c
@@ -1494,7 +1494,7 @@ acl_set_data_indexes(struct rte_acl_ctx *ctx)
 /*
  * Internal routine, performs 'build' phase of trie generation:
  * - setups build context.
- * - analizes given set of rules.
+ * - analyzes given set of rules.
  * - builds internal tree(s).
  */
 static int
diff --git a/lib/acl/acl_run_avx2.h b/lib/acl/acl_run_avx2.h
index d06d2e8782d6..0b8967f22e70 100644
--- a/lib/acl/acl_run_avx2.h
+++ b/lib/acl/acl_run_avx2.h
@@ -125,7 +125,7 @@ acl_process_matches_avx2x8(const struct rte_acl_ctx *ctx,
 	/* For each transition: put low 32 into tr_lo and high 32 into tr_hi */
 	ACL_TR_HILO(mm256, __m256, t0, t1, lo, hi);
 
-	/* Keep transitions wth NOMATCH intact. */
+	/* Keep transitions with NOMATCH intact. */
 	*tr_lo = _mm256_blendv_epi8(*tr_lo, lo, matches);
 	*tr_hi = _mm256_blendv_epi8(*tr_hi, hi, matches);
 }
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 08/18] eal: fix typos in comments
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (6 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 07/18] acl: fix spelling errors Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 09/18] net: fix spelling error in gtp comment Stephen Hemminger
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Minor spelling errors.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eal/include/rte_function_versioning.h | 2 +-
 lib/eal/windows/include/fnmatch.h         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/eal/include/rte_function_versioning.h b/lib/eal/include/rte_function_versioning.h
index 746a1e19923e..eb6dd2bc1727 100644
--- a/lib/eal/include/rte_function_versioning.h
+++ b/lib/eal/include/rte_function_versioning.h
@@ -15,7 +15,7 @@
 
 /*
  * Provides backwards compatibility when updating exported functions.
- * When a symol is exported from a library to provide an API, it also provides a
+ * When a symbol is exported from a library to provide an API, it also provides a
  * calling convention (ABI) that is embodied in its name, return type,
  * arguments, etc.  On occasion that function may need to change to accommodate
  * new functionality, behavior, etc.  When that occurs, it is desirable to
diff --git a/lib/eal/windows/include/fnmatch.h b/lib/eal/windows/include/fnmatch.h
index 142753c3568d..c272f65ccdc3 100644
--- a/lib/eal/windows/include/fnmatch.h
+++ b/lib/eal/windows/include/fnmatch.h
@@ -30,7 +30,7 @@ extern "C" {
  * with the given regular expression pattern.
  *
  * @param pattern
- *	regular expression notation decribing the pattern to match
+ *	regular expression notation describing the pattern to match
  *
  * @param string
  *	source string to searcg for the pattern
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 09/18] net: fix spelling error in gtp comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (7 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 08/18] eal: fix typos in comments Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 10/18] bbdev: fix typo in comment Stephen Hemminger
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

More codespell finds.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/net/rte_gtp.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/net/rte_gtp.h b/lib/net/rte_gtp.h
index 6a6f9b238db9..f22dbce47c65 100644
--- a/lib/net/rte_gtp.h
+++ b/lib/net/rte_gtp.h
@@ -64,9 +64,9 @@ struct rte_gtp_hdr_ext_word {
 /** GTP header length */
 #define RTE_ETHER_GTP_HLEN \
 	(sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))
-/* GTP next protocal type */
-#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocal type IPv4 */
-#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocal type IPv6 */
+/* GTP next protocol type */
+#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocol type IPv4 */
+#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocol type IPv6 */
 /* GTP destination port number */
 #define RTE_GTPC_UDP_PORT 2123 /**< GTP-C UDP destination port */
 #define RTE_GTPU_UDP_PORT 2152 /**< GTP-U UDP destination port */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 10/18] bbdev: fix typo in comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (8 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 09/18] net: fix spelling error in gtp comment Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 11/18] pipeline: fix spellin error " Stephen Hemminger
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/bbdev/rte_bbdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c
index fc37236195be..49a0de49d8df 100644
--- a/lib/bbdev/rte_bbdev.c
+++ b/lib/bbdev/rte_bbdev.c
@@ -138,7 +138,7 @@ rte_bbdev_data_alloc(void)
 }
 
 /*
- * Find data alocated for the device or if not found return first unused bbdev
+ * Find data allocated for the device or if not found return first unused bbdev
  * data. If all structures are in use and none is used by the device return
  * NULL.
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 11/18] pipeline: fix spellin error in comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (9 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 10/18] bbdev: fix typo in comment Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 12/18] hash: fix typo " Stephen Hemminger
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Minor typo

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/pipeline/rte_swx_pipeline.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h
index cd395ac39dbb..9bfc69b2bb4f 100644
--- a/lib/pipeline/rte_swx_pipeline.h
+++ b/lib/pipeline/rte_swx_pipeline.h
@@ -620,7 +620,7 @@ struct rte_swx_pipeline_selector_params {
 	const char *group_id_field_name;
 
 	/** The set of fields used to select (through a hashing scheme) the
-	 * member within the current group. Inputs into the seletion operation.
+	 * member within the current group. Inputs into the selection operation.
 	 * Restriction: All the selector fields must be part of the same struct,
 	 * i.e. part of the same header or part of the meta-data structure.
 	 */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 12/18] hash: fix typo in comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (10 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 11/18] pipeline: fix spellin error " Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 13/18] rib: " Stephen Hemminger
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/hash/rte_thash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c
index d5a95a6e009a..f5e9111f0264 100644
--- a/lib/hash/rte_thash.c
+++ b/lib/hash/rte_thash.c
@@ -26,7 +26,7 @@ EAL_REGISTER_TAILQ(rte_thash_tailq)
 
 /**
  * Table of some irreducible polinomials over GF(2).
- * For lfsr they are reperesented in BE bit order, and
+ * For lfsr they are represented in BE bit order, and
  * x^0 is masked out.
  * For example, poly x^5 + x^2 + 1 will be represented
  * as (101001b & 11111b) = 01001b = 0x9
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 13/18] rib: fix typo in comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (11 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 12/18] hash: fix typo " Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 14/18] sched: " Stephen Hemminger
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rib/rte_rib6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c
index 96424e9c9f4f..4a6f29b0040d 100644
--- a/lib/rib/rte_rib6.c
+++ b/lib/rib/rte_rib6.c
@@ -199,7 +199,7 @@ rte_rib6_lookup_exact(struct rte_rib6 *rib,
 }
 
 /*
- *  Traverses on subtree and retreeves more specific routes
+ *  Traverses on subtree and retrieves more specific routes
  *  for a given in args ip/depth prefix
  *  last = NULL means the first invocation
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 14/18] sched: fix typo in comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (12 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 13/18] rib: " Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 15/18] vhost: " Stephen Hemminger
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/sched/rte_sched.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index a858f61f9548..329f4b2e7b48 100644
--- a/lib/sched/rte_sched.c
+++ b/lib/sched/rte_sched.c
@@ -579,7 +579,7 @@ rte_sched_subport_config_qsize(struct rte_sched_subport *subport)
 
 	subport->qsize_add[0] = 0;
 
-	/* Strict prority traffic class */
+	/* Strict priority traffic class */
 	for (i = 1; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
 		subport->qsize_add[i] = subport->qsize_add[i-1] + subport->qsize[i-1];
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 15/18] vhost: fix typo in comment
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (13 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 14/18] sched: " Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 16/18] ip_frag: fix typos Stephen Hemminger
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/vhost/rte_vhost.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
index 8d875e932297..c36dfc705b04 100644
--- a/lib/vhost/rte_vhost.h
+++ b/lib/vhost/rte_vhost.h
@@ -776,7 +776,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
 /**
  * Set split inflight descriptor.
  *
- * This function save descriptors that has been comsumed in available
+ * This function save descriptors that has been consumed in available
  * ring
  *
  * @param vid
@@ -796,7 +796,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
 /**
  * Set packed inflight descriptor and get corresponding inflight entry
  *
- * This function save descriptors that has been comsumed
+ * This function save descriptors that has been consumed
  *
  * @param vid
  *  vhost device ID
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 16/18] ip_frag: fix typos
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (14 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 15/18] vhost: " Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 17/18] test: fix spelling errors in comments Stephen Hemminger
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Minor typos in comment.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/ip_frag/rte_ipv4_reassembly.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ip_frag/rte_ipv4_reassembly.c b/lib/ip_frag/rte_ipv4_reassembly.c
index 69666c8b8271..4a89a5f5365a 100644
--- a/lib/ip_frag/rte_ipv4_reassembly.c
+++ b/lib/ip_frag/rte_ipv4_reassembly.c
@@ -80,7 +80,7 @@ ipv4_frag_reassemble(struct ip_frag_pkt *fp)
 
 /*
  * Process new mbuf with fragment of IPV4 packet.
- * Incoming mbuf should have it's l2_len/l3_len fields setuped correclty.
+ * Incoming mbuf should have it's l2_len/l3_len fields setup correctly.
  * @param tbl
  *   Table where to lookup/add the fragmented packet.
  * @param mb
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 17/18] test: fix spelling errors in comments
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (15 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 16/18] ip_frag: fix typos Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 18/18] test-pmd: " Stephen Hemminger
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Lots of little typos

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test/test_atomic.c                  |  2 +-
 app/test/test_barrier.c                 |  2 +-
 app/test/test_bpf.c                     |  2 +-
 app/test/test_compressdev.c             |  2 +-
 app/test/test_compressdev_test_buffer.h |  4 ++--
 app/test/test_func_reentrancy.c         |  6 +++---
 app/test/test_ipsec.c                   |  2 +-
 app/test/test_link_bonding.c            |  2 +-
 app/test/test_lpm.c                     |  6 +++---
 app/test/test_lpm6.c                    | 14 +++++++-------
 app/test/test_malloc.c                  |  4 ++--
 app/test/test_mbuf.c                    |  2 +-
 app/test/test_mempool.c                 |  2 +-
 app/test/test_mempool_perf.c            |  2 +-
 app/test/test_meter.c                   |  6 +++---
 app/test/test_pmd_perf.c                |  2 +-
 app/test/test_timer.c                   |  2 +-
 17 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c
index f10f555af8b4..7dfa10a70102 100644
--- a/app/test/test_atomic.c
+++ b/app/test/test_atomic.c
@@ -88,7 +88,7 @@
  *
  *   - Invoke ``test_atomic_exchange`` on each lcore.  Before doing
  *     anything else, the cores wait for a synchronization event.
- *     Each core then does the follwoing for N iterations:
+ *     Each core then does the following for N iterations:
  *
  *       Generate a new token with a data integrity check
  *       Exchange the new token for previously generated token
diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c
index c27f8a0742f2..8fa93c00329a 100644
--- a/app/test/test_barrier.c
+++ b/app/test/test_barrier.c
@@ -66,7 +66,7 @@ struct plock_test {
 struct lcore_plock_test {
 	struct plock_test *pt[2]; /* shared, lock-protected data */
 	uint64_t sum[2];          /* local copy of the shared data */
-	uint64_t iter;            /* number of iterations to perfom */
+	uint64_t iter;            /* number of iterations to perform */
 	uint32_t lc;              /* given lcore id */
 };
 
diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index 527c06b80708..cf6e022f7a92 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -2391,7 +2391,7 @@ static const struct ebpf_insn test_call5_prog[] = {
 	},
 };
 
-/* String comparision impelementation, return 0 if equal else difference */
+/* String comparison implementation, return 0 if equal else difference */
 static uint32_t
 dummy_func5(const char *s1, const char *s2)
 {
diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c
index 0571c17ecb8d..a7d04c02c6dd 100644
--- a/app/test/test_compressdev.c
+++ b/app/test/test_compressdev.c
@@ -2035,7 +2035,7 @@ test_deflate_comp_decomp(const struct interim_data_params *int_data,
 	test_priv_data.all_decomp_data = &all_decomp_data;
 	test_priv_data.decomp_produced_data_size = &decomp_produced_data_size;
 
-	test_priv_data.num_priv_xforms = 0; /* it's used for deompression only */
+	test_priv_data.num_priv_xforms = 0; /* it's used for decompression only */
 
 	capa = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE);
 	if (capa == NULL) {
diff --git a/app/test/test_compressdev_test_buffer.h b/app/test/test_compressdev_test_buffer.h
index b09a7e99688f..cb26c7d40284 100644
--- a/app/test/test_compressdev_test_buffer.h
+++ b/app/test/test_compressdev_test_buffer.h
@@ -105,7 +105,7 @@ static const char test_buf_shakespeare[] =
 	"\n"
 	"OLIVER		|\n"
 	"		|\n"
-	"JAQUES (JAQUES DE BOYS:)  	|  sons of Sir Rowland de Boys.\n"
+	"JACQUES (JACQUES DE BOYS:)  	|  sons of Sir Rowland de Boys.\n"
 	"		|\n"
 	"ORLANDO		|\n"
 	"\n"
@@ -168,7 +168,7 @@ static const char test_buf_shakespeare[] =
 	"	bequeathed me by will but poor a thousand crowns,\n"
 	"	and, as thou sayest, charged my brother, on his\n"
 	"	blessing, to breed me well: and there begins my\n"
-	"	sadness. My brother Jaques he keeps at school, and\n"
+	"	sadness. My brother Jacques he keeps at school, and\n"
 	"	report speaks goldenly of his profit: for my part,\n"
 	"	he keeps me rustically at home, or, to speak more\n"
 	"	properly, stays me here at home unkept; for call you\n"
diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c
index 231c99a9ebc5..69ff421b1824 100644
--- a/app/test/test_func_reentrancy.c
+++ b/app/test/test_func_reentrancy.c
@@ -242,7 +242,7 @@ hash_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple times simultaneously */
+	/* create multiple times simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_self, i);
 		hash_params.name = hash_name;
@@ -306,7 +306,7 @@ fbk_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_self, i);
 		fbk_params.name = fbk_name;
@@ -368,7 +368,7 @@ lpm_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_LPM_ITER_TIMES; i++) {
 		snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_self, i);
 		lpm = rte_lpm_create(lpm_name, SOCKET_ID_ANY, &config);
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index fb90130ae23b..f421ce45795b 100644
--- a/app/test/test_ipsec.c
+++ b/app/test/test_ipsec.c
@@ -654,7 +654,7 @@ create_crypto_session(struct ipsec_unitest_params *ut,
 	if (s == NULL)
 		return -ENOMEM;
 
-	/* initiliaze SA crypto session for device */
+	/* initialize SA crypto session for device */
 	rc = rte_cryptodev_sym_session_init(dev_id, s,
 			ut->crypto_xforms, qp->mp_session_private);
 	if (rc == 0) {
diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c
index 8a5c8310a8b4..fd246725096c 100644
--- a/app/test/test_link_bonding.c
+++ b/app/test/test_link_bonding.c
@@ -3041,7 +3041,7 @@ test_balance_tx_burst_slave_tx_fail(void)
 	first_tx_fail_idx = TEST_BAL_SLAVE_TX_FAIL_BURST_SIZE_1 -
 			TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT;
 
-	/* copy mbuf referneces for expected transmission failures */
+	/* copy mbuf references for expected transmission failures */
 	for (i = 0; i < TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT; i++)
 		expected_fail_pkts[i] = pkts_burst_1[i + first_tx_fail_idx];
 
diff --git a/app/test/test_lpm.c b/app/test/test_lpm.c
index 556f5a67baf1..37b460af3a96 100644
--- a/app/test/test_lpm.c
+++ b/app/test/test_lpm.c
@@ -179,7 +179,7 @@ test3(void)
 	status = rte_lpm_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -217,7 +217,7 @@ test4(void)
 	status = rte_lpm_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -255,7 +255,7 @@ test5(void)
 	status = rte_lpm_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c
index 0d664546fa47..17221f992aee 100644
--- a/app/test/test_lpm6.c
+++ b/app/test/test_lpm6.c
@@ -261,7 +261,7 @@ test4(void)
 	status = rte_lpm6_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -299,7 +299,7 @@ test5(void)
 	status = rte_lpm6_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -337,7 +337,7 @@ test6(void)
 	status = rte_lpm6_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -375,7 +375,7 @@ test7(void)
 	status = rte_lpm6_lookup_bulk_func(NULL, ip, next_hop_return, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -413,7 +413,7 @@ test8(void)
 	status = rte_lpm6_delete_bulk_func(NULL, ip, depth, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -433,7 +433,7 @@ test8(void)
 /*
  * Call add, lookup and delete for a single rule with depth < 24.
  * Check all the combinations for the first three bytes that result in a hit.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test9(void)
@@ -1738,7 +1738,7 @@ test27(void)
  * Call add, lookup and delete for a single rule with maximum 21bit next_hop
  * size.
  * Check that next_hop returned from lookup is equal to provisioned value.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test28(void)
diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c
index afff0de9f05a..6d9249f831be 100644
--- a/app/test/test_malloc.c
+++ b/app/test/test_malloc.c
@@ -603,7 +603,7 @@ test_realloc_numa(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2)
 		printf("WARNING: realloc_socket test needs memory on multiple sockets!\n");
 
@@ -971,7 +971,7 @@ test_alloc_socket(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2) {
 		printf("WARNING: alloc_socket test needs memory on multiple sockets!\n");
 	}
diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
index 9a248dfaea70..167c0938b633 100644
--- a/app/test/test_mbuf.c
+++ b/app/test/test_mbuf.c
@@ -1148,7 +1148,7 @@ test_refcnt_mbuf(void)
 
 	rte_eal_mp_wait_lcore();
 
-	/* check that we porcessed all references */
+	/* check that we processed all references */
 	tref = 0;
 	main_lcore = rte_get_main_lcore();
 
diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c
index 7675a3e605fb..5b559a04d142 100644
--- a/app/test/test_mempool.c
+++ b/app/test/test_mempool.c
@@ -628,7 +628,7 @@ test_mempool(void)
 	if (test_mempool_basic_ex(mp_nocache) < 0)
 		GOTO_ERR(ret, err);
 
-	/* mempool operation test based on single producer and single comsumer */
+	/* mempool operation test based on single producer and single consumer */
 	if (test_mempool_sp_sc() < 0)
 		GOTO_ERR(ret, err);
 
diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c
index 8f629736e8fd..87ad25136796 100644
--- a/app/test/test_mempool_perf.c
+++ b/app/test/test_mempool_perf.c
@@ -88,7 +88,7 @@ static uint32_t synchro;
 static unsigned n_get_bulk;
 static unsigned n_put_bulk;
 
-/* number of objects retrived from mempool before putting them back */
+/* number of objects retrieved from mempool before putting them back */
 static unsigned n_keep;
 
 /* number of enqueues / dequeues */
diff --git a/app/test/test_meter.c b/app/test/test_meter.c
index f6fe6494ab63..15d5a4839b4b 100644
--- a/app/test/test_meter.c
+++ b/app/test/test_meter.c
@@ -444,7 +444,7 @@ tm_test_srtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -551,7 +551,7 @@ tm_test_trtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -648,7 +648,7 @@ tm_test_trtcm_rfc4115_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
index 3a248d512c4a..1ef844ba7568 100644
--- a/app/test/test_pmd_perf.c
+++ b/app/test/test_pmd_perf.c
@@ -753,7 +753,7 @@ test_pmd_perf(void)
 				"rte_eth_dev_start: err=%d, port=%d\n",
 				ret, portid);
 
-		/* always eanble promiscuous */
+		/* always enable promiscuous */
 		ret = rte_eth_promiscuous_enable(portid);
 		if (ret != 0)
 			rte_exit(EXIT_FAILURE,
diff --git a/app/test/test_timer.c b/app/test/test_timer.c
index a10b2fe9daf4..631b737d169d 100644
--- a/app/test/test_timer.c
+++ b/app/test/test_timer.c
@@ -432,7 +432,7 @@ timer_basic_cb(struct rte_timer *tim, void *arg)
 		return;
 	}
 
-	/* Explicitelly stop timer 0. Once stop() called, we can even
+	/* Explicitly stop timer 0. Once stop() called, we can even
 	 * erase the content of the structure: it is not referenced
 	 * anymore by any code (in case of dynamic structure, it can
 	 * be freed) */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH 18/18] test-pmd: fix spelling errors in comments
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (16 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 17/18] test: fix spelling errors in comments Stephen Hemminger
@ 2021-09-09 17:56 ` Stephen Hemminger
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 17:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

More typos

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test-pmd/cmdline.c  | 2 +-
 app/test-pmd/config.c   | 4 ++--
 app/test-pmd/icmpecho.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 82253bc75110..2628bd64dae6 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -3670,7 +3670,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items,
 		return nb_item;
 
 	/*
-	 * Then, check that all values in the list are differents.
+	 * Then, check that all values in the list are different.
 	 * No optimization here...
 	 */
 	for (i = 0; i < nb_item; i++) {
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 31d8ba1b913c..d274c6669d50 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -2777,7 +2777,7 @@ port_rss_reta_info(portid_t port_id,
 }
 
 /*
- * Displays the RSS hash functions of a port, and, optionaly, the RSS hash
+ * Displays the RSS hash functions of a port, and, optionally, the RSS hash
  * key of the port.
  */
 void
@@ -4932,7 +4932,7 @@ mcast_addr_pool_remove(struct rte_port *port, uint32_t addr_idx)
 {
 	port->mc_addr_nb--;
 	if (addr_idx == port->mc_addr_nb) {
-		/* No need to recompact the set of multicast addressses. */
+		/* No need to recompact the set of multicast addresses. */
 		if (port->mc_addr_nb == 0) {
 			/* free the pool of multicast addresses. */
 			free(port->mc_addr_pool);
diff --git a/app/test-pmd/icmpecho.c b/app/test-pmd/icmpecho.c
index 8948f28eb5af..ebff5ac9794f 100644
--- a/app/test-pmd/icmpecho.c
+++ b/app/test-pmd/icmpecho.c
@@ -54,7 +54,7 @@ arp_op_name(uint16_t arp_op)
 	default:
 		break;
 	}
-	return "Unkwown ARP op";
+	return "Unknown ARP op";
 }
 
 static const char *
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 00/18] Fix spelling errors
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (17 preceding siblings ...)
  2021-09-09 17:56 ` [dpdk-dev] [PATCH 18/18] test-pmd: " Stephen Hemminger
@ 2021-09-09 18:10 ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 01/18] node: fix typos Stephen Hemminger
                     ` (17 more replies)
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                   ` (2 subsequent siblings)
  21 siblings, 18 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

After finding a few typos in BPF, decided to cast a
wider net and fix lots more places.  These are all contained
to typos in strings or comments.

v2 - checkpatch wants more than just subject
     remove autocorrect of historical text

Stephen Hemminger (18):
  node: fix typos
  ipsec: fix spelling errors
  eventdev: fix typo in comment
  power: fix typo in comment
  rcu: fix typo in comment
  bpf: fix spelling in comments
  acl: fix spelling errors
  eal: fix typos in comments
  net: fix spelling error in gtp comment
  bbdev: fix typo in comment
  pipeline: fix spellin error in comment
  hash: fix typo in comment
  rib: fix typo in comment
  sched: fix typo in comment
  vhost: fix typo in comment
  ip_frag: fix typos
  test-pmd: fix spelling errors in comments
  test: fix spelling errors in comments

 app/test-pmd/cmdline.c                    |  2 +-
 app/test-pmd/config.c                     |  4 ++--
 app/test-pmd/icmpecho.c                   |  2 +-
 app/test/test_atomic.c                    |  2 +-
 app/test/test_barrier.c                   |  2 +-
 app/test/test_bpf.c                       |  2 +-
 app/test/test_compressdev.c               |  2 +-
 app/test/test_func_reentrancy.c           |  6 +++---
 app/test/test_ipsec.c                     |  2 +-
 app/test/test_link_bonding.c              |  2 +-
 app/test/test_lpm.c                       |  6 +++---
 app/test/test_lpm6.c                      | 14 +++++++-------
 app/test/test_malloc.c                    |  4 ++--
 app/test/test_mbuf.c                      |  2 +-
 app/test/test_mempool.c                   |  2 +-
 app/test/test_mempool_perf.c              |  2 +-
 app/test/test_meter.c                     |  6 +++---
 app/test/test_pmd_perf.c                  |  2 +-
 app/test/test_timer.c                     |  2 +-
 lib/acl/acl.h                             |  4 ++--
 lib/acl/acl_bld.c                         |  2 +-
 lib/acl/acl_run_avx2.h                    |  2 +-
 lib/bbdev/rte_bbdev.c                     |  2 +-
 lib/bpf/bpf_jit_x86.c                     |  2 +-
 lib/bpf/bpf_validate.c                    |  4 ++--
 lib/eal/include/rte_function_versioning.h |  2 +-
 lib/eal/windows/include/fnmatch.h         |  2 +-
 lib/eventdev/rte_event_timer_adapter.c    |  2 +-
 lib/hash/rte_thash.c                      |  2 +-
 lib/ip_frag/rte_ipv4_reassembly.c         |  2 +-
 lib/ipsec/esp_inb.c                       |  4 ++--
 lib/ipsec/esp_outb.c                      |  2 +-
 lib/ipsec/ipsec_sad.c                     |  2 +-
 lib/ipsec/sa.c                            |  2 +-
 lib/ipsec/sa.h                            |  2 +-
 lib/net/rte_gtp.h                         |  6 +++---
 lib/node/ethdev_rx_priv.h                 |  2 +-
 lib/node/ethdev_tx_priv.h                 |  2 +-
 lib/node/ip4_rewrite_priv.h               |  2 +-
 lib/pipeline/rte_swx_pipeline.h           |  2 +-
 lib/power/power_acpi_cpufreq.c            |  2 +-
 lib/rcu/rte_rcu_qsbr.h                    |  2 +-
 lib/rib/rte_rib6.c                        |  2 +-
 lib/sched/rte_sched.c                     |  2 +-
 lib/vhost/rte_vhost.h                     |  4 ++--
 45 files changed, 65 insertions(+), 65 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 01/18] node: fix typos
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors Stephen Hemminger
                     ` (16 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Spelling errors in comments including doxygen

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/node/ethdev_rx_priv.h   | 2 +-
 lib/node/ethdev_tx_priv.h   | 2 +-
 lib/node/ip4_rewrite_priv.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/node/ethdev_rx_priv.h b/lib/node/ethdev_rx_priv.h
index efcd66dd4817..76cf77d60315 100644
--- a/lib/node/ethdev_rx_priv.h
+++ b/lib/node/ethdev_rx_priv.h
@@ -71,7 +71,7 @@ struct ethdev_rx_node_main *ethdev_rx_get_node_data_get(void);
  *
  * Get the Ethernet Rx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Rx node.
  */
 struct rte_node_register *ethdev_rx_node_get(void);
diff --git a/lib/node/ethdev_tx_priv.h b/lib/node/ethdev_tx_priv.h
index 586bff44a737..9ced520bd209 100644
--- a/lib/node/ethdev_tx_priv.h
+++ b/lib/node/ethdev_tx_priv.h
@@ -50,7 +50,7 @@ struct ethdev_tx_node_main *ethdev_tx_node_data_get(void);
  *
  * Get the Ethernet Tx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Tx node.
  */
 struct rte_node_register *ethdev_tx_node_get(void);
diff --git a/lib/node/ip4_rewrite_priv.h b/lib/node/ip4_rewrite_priv.h
index 80f0abdc94eb..036469746b29 100644
--- a/lib/node/ip4_rewrite_priv.h
+++ b/lib/node/ip4_rewrite_priv.h
@@ -53,7 +53,7 @@ struct ip4_rewrite_node_main {
  *
  * Get the ipv4 rewrite node.
  *
- * @retrun
+ * @return
  *   Pointer to the ipv4 rewrite node.
  */
 struct rte_node_register *ip4_rewrite_node_get(void);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 01/18] node: fix typos Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment Stephen Hemminger
                     ` (15 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Lots of typos in comments found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/ipsec/esp_inb.c   | 4 ++--
 lib/ipsec/esp_outb.c  | 2 +-
 lib/ipsec/ipsec_sad.c | 2 +-
 lib/ipsec/sa.c        | 2 +-
 lib/ipsec/sa.h        | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c
index 2b1df6a032a8..846fc0ea71a2 100644
--- a/lib/ipsec/esp_inb.c
+++ b/lib/ipsec/esp_inb.c
@@ -415,7 +415,7 @@ trs_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml,
 
 /*
  * packet checks for tunnel mode:
- * - same as for trasnport mode
+ * - same as for transport mode
  * - esp tail next proto contains expected for that SA value
  */
 static inline int32_t
@@ -501,7 +501,7 @@ trs_process_step3(struct rte_mbuf *mb)
 static inline void
 tun_process_step3(struct rte_mbuf *mb, uint64_t txof_msk, uint64_t txof_val)
 {
-	/* reset mbuf metatdata: L2/L3 len, packet type */
+	/* reset mbuf metadata: L2/L3 len, packet type */
 	mb->packet_type = RTE_PTYPE_UNKNOWN;
 	mb->tx_offload = (mb->tx_offload & txof_msk) | txof_val;
 
diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c
index 1e181cf2cee4..0bf3cd6bd4da 100644
--- a/lib/ipsec/esp_outb.c
+++ b/lib/ipsec/esp_outb.c
@@ -525,7 +525,7 @@ cpu_outb_trs_pkt_prepare(const struct rte_ipsec_session *ss,
 
 /*
  * process outbound packets for SA with ESN support,
- * for algorithms that require SQN.hibits to be implictly included
+ * for algorithms that require SQN.hibits to be implicitly included
  * into digest computation.
  * In that case we have to move ICV bytes back to their proper place.
  */
diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c
index 3f9533c80a68..531e1e323cdc 100644
--- a/lib/ipsec/ipsec_sad.c
+++ b/lib/ipsec/ipsec_sad.c
@@ -62,7 +62,7 @@ EAL_REGISTER_TAILQ(rte_ipsec_sad_tailq)
  * Inserts a rule into an appropriate hash table,
  * updates the value for a given SPI in SPI_ONLY hash table
  * reflecting presence of more specific rule type in two LSBs.
- * Updates a counter that reflects the number of rules whith the same SPI.
+ * Updates a counter that reflects the number of rules with the same SPI.
  */
 static inline int
 add_specific(struct rte_ipsec_sad *sad, const void *key,
diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c
index e59189d215b3..f49b3ec15d4f 100644
--- a/lib/ipsec/sa.c
+++ b/lib/ipsec/sa.c
@@ -126,7 +126,7 @@ ipsec_sa_size(uint64_t type, uint32_t *wnd_sz, uint32_t *nb_bucket)
 		/*
 		 * RFC 4303 recommends 64 as minimum window size.
 		 * there is no point to use ESN mode without SQN window,
-		 * so make sure we have at least 64 window when ESN is enalbed.
+		 * so make sure we have at least 64 window when ESN is enabled.
 		 */
 		wsz = ((type & RTE_IPSEC_SATP_ESN_MASK) ==
 			RTE_IPSEC_SATP_ESN_DISABLE) ?
diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h
index 1bffe751f586..b8ce4e958119 100644
--- a/lib/ipsec/sa.h
+++ b/lib/ipsec/sa.h
@@ -116,7 +116,7 @@ struct rte_ipsec_sa {
 	 * In case of SA handled by multiple threads *sqn* cacheline
 	 * could be shared by multiple cores.
 	 * To minimise performance impact, we try to locate in a separate
-	 * place from other frequently accesed data.
+	 * place from other frequently accessed data.
 	 */
 	union {
 		uint64_t outb;
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 01/18] node: fix typos Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 04/18] power: " Stephen Hemminger
                     ` (14 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Typo in comment found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eventdev/rte_event_timer_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/eventdev/rte_event_timer_adapter.c b/lib/eventdev/rte_event_timer_adapter.c
index ee20b39f4b24..b5c2dc1427c6 100644
--- a/lib/eventdev/rte_event_timer_adapter.c
+++ b/lib/eventdev/rte_event_timer_adapter.c
@@ -493,7 +493,7 @@ event_buffer_flush(struct event_buffer *bufp, uint8_t dev_id, uint8_t port_id,
 
 	RTE_ASSERT(head_idx < EVENT_BUFFER_SZ && tail_idx < EVENT_BUFFER_SZ);
 
-	/* Determine the largest contigous run we can attempt to enqueue to the
+	/* Determine the largest contiguous run we can attempt to enqueue to the
 	 * event device.
 	 */
 	if (head_idx > tail_idx)
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 04/18] power: fix typo in comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (2 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 05/18] rcu: " Stephen Hemminger
                     ` (13 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

More spelling errors caught by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/power/power_acpi_cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/power/power_acpi_cpufreq.c b/lib/power/power_acpi_cpufreq.c
index 1e8aeb84037c..402ed8c99b42 100644
--- a/lib/power/power_acpi_cpufreq.c
+++ b/lib/power/power_acpi_cpufreq.c
@@ -159,7 +159,7 @@ power_get_available_freqs(struct acpi_power_info *pi)
 		goto out;
 	}
 
-	/* Store the available frequncies into power context */
+	/* Store the available frequencies into power context */
 	for (i = 0, pi->nb_freqs = 0; i < count; i++) {
 		POWER_DEBUG_TRACE("Lcore %u frequency[%d]: %s\n", pi->lcore_id,
 				i, freqs[i]);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 05/18] rcu: fix typo in comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (3 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 04/18] power: " Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments Stephen Hemminger
                     ` (12 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Another codespell find.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rcu/rte_rcu_qsbr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h
index 18811c1cc106..62a420a785fc 100644
--- a/lib/rcu/rte_rcu_qsbr.h
+++ b/lib/rcu/rte_rcu_qsbr.h
@@ -362,7 +362,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v, unsigned int thread_id)
 
 	/* The reader can go offline only after the load of the
 	 * data structure is completed. i.e. any load of the
-	 * data strcture can not move after this store.
+	 * data structure can not move after this store.
 	 */
 
 	__atomic_store_n(&v->qsbr_cnt[thread_id].cnt,
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (4 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 05/18] rcu: " Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 19:49     ` Dmitry Kozlyuk
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors Stephen Hemminger
                     ` (11 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Found by running codespell on the bpf implementation.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/bpf/bpf_jit_x86.c  | 2 +-
 lib/bpf/bpf_validate.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c
index aa22ea78a01d..518513376a67 100644
--- a/lib/bpf/bpf_jit_x86.c
+++ b/lib/bpf/bpf_jit_x86.c
@@ -1245,7 +1245,7 @@ emit_epilog(struct bpf_jit_state *st)
 	uint32_t i;
 	int32_t spil, ofs;
 
-	/* if we allready have an epilog generate a jump to it */
+	/* if we already have an epilog generate a jump to it */
 	if (st->exit.num++ != 0) {
 		emit_abs_jmp(st, st->exit.off);
 		return;
diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c
index 7b1291b382e9..3e7d3d730637 100644
--- a/lib/bpf/bpf_validate.c
+++ b/lib/bpf/bpf_validate.c
@@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = {
 
 /*
  * make sure that instruction syntax is valid,
- * and it fields don't violate partciular instrcution type restrictions.
+ * and it fields don't violate particular instruction type restrictions.
  */
 static const char *
 check_syntax(const struct ebpf_insn *ins)
@@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf)
 
 		/*
 		 * construct CFG, jcc nodes have to outgoing edges,
-		 * 'exit' nodes - none, all others nodes have exaclty one
+		 * 'exit' nodes - none, all others nodes have exactly one
 		 * outgoing edge.
 		 */
 		switch (ins->code) {
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (5 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments Stephen Hemminger
                     ` (10 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Lots of little typos in comments

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/acl/acl.h          | 4 ++--
 lib/acl/acl_bld.c      | 2 +-
 lib/acl/acl_run_avx2.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/acl/acl.h b/lib/acl/acl.h
index 4089ab2a0462..f5739a475cf0 100644
--- a/lib/acl/acl.h
+++ b/lib/acl/acl.h
@@ -45,7 +45,7 @@ struct rte_acl_bitset {
  * Each transition is 64 bit value with the following format:
  * | node_type_specific : 32 | node_type : 3 | node_addr : 29 |
  * For all node types except RTE_ACL_NODE_MATCH, node_addr is an index
- * to the start of the node in the transtions array.
+ * to the start of the node in the transitions array.
  * Few different node types are used:
  * RTE_ACL_NODE_MATCH:
  * node_addr value is and index into an array that contains the return value
@@ -66,7 +66,7 @@ struct rte_acl_bitset {
  * RTE_ACL_NODE_SINGLE:
  * always transitions to the same node regardless of the input value.
  * RTE_ACL_NODE_DFA:
- * that node consits of up to 256 transitions.
+ * that node consists of up to 256 transitions.
  * In attempt to conserve space all transitions are divided into 4 consecutive
  * groups, by 64 transitions per group:
  * group64[i] contains transitions[i * 64, .. i * 64 + 63].
diff --git a/lib/acl/acl_bld.c b/lib/acl/acl_bld.c
index da10864cd870..f316d3e875ef 100644
--- a/lib/acl/acl_bld.c
+++ b/lib/acl/acl_bld.c
@@ -1494,7 +1494,7 @@ acl_set_data_indexes(struct rte_acl_ctx *ctx)
 /*
  * Internal routine, performs 'build' phase of trie generation:
  * - setups build context.
- * - analizes given set of rules.
+ * - analyzes given set of rules.
  * - builds internal tree(s).
  */
 static int
diff --git a/lib/acl/acl_run_avx2.h b/lib/acl/acl_run_avx2.h
index d06d2e8782d6..0b8967f22e70 100644
--- a/lib/acl/acl_run_avx2.h
+++ b/lib/acl/acl_run_avx2.h
@@ -125,7 +125,7 @@ acl_process_matches_avx2x8(const struct rte_acl_ctx *ctx,
 	/* For each transition: put low 32 into tr_lo and high 32 into tr_hi */
 	ACL_TR_HILO(mm256, __m256, t0, t1, lo, hi);
 
-	/* Keep transitions wth NOMATCH intact. */
+	/* Keep transitions with NOMATCH intact. */
 	*tr_lo = _mm256_blendv_epi8(*tr_lo, lo, matches);
 	*tr_hi = _mm256_blendv_epi8(*tr_hi, hi, matches);
 }
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (6 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment Stephen Hemminger
                     ` (9 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Minor spelling errors.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eal/include/rte_function_versioning.h | 2 +-
 lib/eal/windows/include/fnmatch.h         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/eal/include/rte_function_versioning.h b/lib/eal/include/rte_function_versioning.h
index 746a1e19923e..eb6dd2bc1727 100644
--- a/lib/eal/include/rte_function_versioning.h
+++ b/lib/eal/include/rte_function_versioning.h
@@ -15,7 +15,7 @@
 
 /*
  * Provides backwards compatibility when updating exported functions.
- * When a symol is exported from a library to provide an API, it also provides a
+ * When a symbol is exported from a library to provide an API, it also provides a
  * calling convention (ABI) that is embodied in its name, return type,
  * arguments, etc.  On occasion that function may need to change to accommodate
  * new functionality, behavior, etc.  When that occurs, it is desirable to
diff --git a/lib/eal/windows/include/fnmatch.h b/lib/eal/windows/include/fnmatch.h
index 142753c3568d..c272f65ccdc3 100644
--- a/lib/eal/windows/include/fnmatch.h
+++ b/lib/eal/windows/include/fnmatch.h
@@ -30,7 +30,7 @@ extern "C" {
  * with the given regular expression pattern.
  *
  * @param pattern
- *	regular expression notation decribing the pattern to match
+ *	regular expression notation describing the pattern to match
  *
  * @param string
  *	source string to searcg for the pattern
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (7 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment Stephen Hemminger
                     ` (8 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

More codespell finds.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/net/rte_gtp.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/net/rte_gtp.h b/lib/net/rte_gtp.h
index 6a6f9b238db9..f22dbce47c65 100644
--- a/lib/net/rte_gtp.h
+++ b/lib/net/rte_gtp.h
@@ -64,9 +64,9 @@ struct rte_gtp_hdr_ext_word {
 /** GTP header length */
 #define RTE_ETHER_GTP_HLEN \
 	(sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))
-/* GTP next protocal type */
-#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocal type IPv4 */
-#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocal type IPv6 */
+/* GTP next protocol type */
+#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocol type IPv4 */
+#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocol type IPv6 */
 /* GTP destination port number */
 #define RTE_GTPC_UDP_PORT 2123 /**< GTP-C UDP destination port */
 #define RTE_GTPU_UDP_PORT 2152 /**< GTP-U UDP destination port */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (8 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error " Stephen Hemminger
                     ` (7 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/bbdev/rte_bbdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c
index fc37236195be..49a0de49d8df 100644
--- a/lib/bbdev/rte_bbdev.c
+++ b/lib/bbdev/rte_bbdev.c
@@ -138,7 +138,7 @@ rte_bbdev_data_alloc(void)
 }
 
 /*
- * Find data alocated for the device or if not found return first unused bbdev
+ * Find data allocated for the device or if not found return first unused bbdev
  * data. If all structures are in use and none is used by the device return
  * NULL.
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error in comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (9 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 12/18] hash: fix typo " Stephen Hemminger
                     ` (6 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Minor typo

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/pipeline/rte_swx_pipeline.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h
index cd395ac39dbb..9bfc69b2bb4f 100644
--- a/lib/pipeline/rte_swx_pipeline.h
+++ b/lib/pipeline/rte_swx_pipeline.h
@@ -620,7 +620,7 @@ struct rte_swx_pipeline_selector_params {
 	const char *group_id_field_name;
 
 	/** The set of fields used to select (through a hashing scheme) the
-	 * member within the current group. Inputs into the seletion operation.
+	 * member within the current group. Inputs into the selection operation.
 	 * Restriction: All the selector fields must be part of the same struct,
 	 * i.e. part of the same header or part of the meta-data structure.
 	 */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 12/18] hash: fix typo in comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (10 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error " Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 13/18] rib: " Stephen Hemminger
                     ` (5 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/hash/rte_thash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c
index d5a95a6e009a..f5e9111f0264 100644
--- a/lib/hash/rte_thash.c
+++ b/lib/hash/rte_thash.c
@@ -26,7 +26,7 @@ EAL_REGISTER_TAILQ(rte_thash_tailq)
 
 /**
  * Table of some irreducible polinomials over GF(2).
- * For lfsr they are reperesented in BE bit order, and
+ * For lfsr they are represented in BE bit order, and
  * x^0 is masked out.
  * For example, poly x^5 + x^2 + 1 will be represented
  * as (101001b & 11111b) = 01001b = 0x9
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 13/18] rib: fix typo in comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (11 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 12/18] hash: fix typo " Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 14/18] sched: " Stephen Hemminger
                     ` (4 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rib/rte_rib6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c
index 96424e9c9f4f..4a6f29b0040d 100644
--- a/lib/rib/rte_rib6.c
+++ b/lib/rib/rte_rib6.c
@@ -199,7 +199,7 @@ rte_rib6_lookup_exact(struct rte_rib6 *rib,
 }
 
 /*
- *  Traverses on subtree and retreeves more specific routes
+ *  Traverses on subtree and retrieves more specific routes
  *  for a given in args ip/depth prefix
  *  last = NULL means the first invocation
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 14/18] sched: fix typo in comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (12 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 13/18] rib: " Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 15/18] vhost: " Stephen Hemminger
                     ` (3 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/sched/rte_sched.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index a858f61f9548..329f4b2e7b48 100644
--- a/lib/sched/rte_sched.c
+++ b/lib/sched/rte_sched.c
@@ -579,7 +579,7 @@ rte_sched_subport_config_qsize(struct rte_sched_subport *subport)
 
 	subport->qsize_add[0] = 0;
 
-	/* Strict prority traffic class */
+	/* Strict priority traffic class */
 	for (i = 1; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
 		subport->qsize_add[i] = subport->qsize_add[i-1] + subport->qsize[i-1];
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 15/18] vhost: fix typo in comment
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (13 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 14/18] sched: " Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:55     ` Maxime Coquelin
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos Stephen Hemminger
                     ` (2 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/vhost/rte_vhost.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
index 8d875e932297..c36dfc705b04 100644
--- a/lib/vhost/rte_vhost.h
+++ b/lib/vhost/rte_vhost.h
@@ -776,7 +776,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
 /**
  * Set split inflight descriptor.
  *
- * This function save descriptors that has been comsumed in available
+ * This function save descriptors that has been consumed in available
  * ring
  *
  * @param vid
@@ -796,7 +796,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
 /**
  * Set packed inflight descriptor and get corresponding inflight entry
  *
- * This function save descriptors that has been comsumed
+ * This function save descriptors that has been consumed
  *
  * @param vid
  *  vhost device ID
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (14 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 15/18] vhost: " Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 18/18] test: " Stephen Hemminger
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Minor typos in comment.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/ip_frag/rte_ipv4_reassembly.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ip_frag/rte_ipv4_reassembly.c b/lib/ip_frag/rte_ipv4_reassembly.c
index 69666c8b8271..4a89a5f5365a 100644
--- a/lib/ip_frag/rte_ipv4_reassembly.c
+++ b/lib/ip_frag/rte_ipv4_reassembly.c
@@ -80,7 +80,7 @@ ipv4_frag_reassemble(struct ip_frag_pkt *fp)
 
 /*
  * Process new mbuf with fragment of IPV4 packet.
- * Incoming mbuf should have it's l2_len/l3_len fields setuped correclty.
+ * Incoming mbuf should have it's l2_len/l3_len fields setup correctly.
  * @param tbl
  *   Table where to lookup/add the fragmented packet.
  * @param mb
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (15 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 18/18] test: " Stephen Hemminger
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

More typos

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test-pmd/cmdline.c  | 2 +-
 app/test-pmd/config.c   | 4 ++--
 app/test-pmd/icmpecho.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 82253bc75110..2628bd64dae6 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -3670,7 +3670,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items,
 		return nb_item;
 
 	/*
-	 * Then, check that all values in the list are differents.
+	 * Then, check that all values in the list are different.
 	 * No optimization here...
 	 */
 	for (i = 0; i < nb_item; i++) {
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 31d8ba1b913c..d274c6669d50 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -2777,7 +2777,7 @@ port_rss_reta_info(portid_t port_id,
 }
 
 /*
- * Displays the RSS hash functions of a port, and, optionaly, the RSS hash
+ * Displays the RSS hash functions of a port, and, optionally, the RSS hash
  * key of the port.
  */
 void
@@ -4932,7 +4932,7 @@ mcast_addr_pool_remove(struct rte_port *port, uint32_t addr_idx)
 {
 	port->mc_addr_nb--;
 	if (addr_idx == port->mc_addr_nb) {
-		/* No need to recompact the set of multicast addressses. */
+		/* No need to recompact the set of multicast addresses. */
 		if (port->mc_addr_nb == 0) {
 			/* free the pool of multicast addresses. */
 			free(port->mc_addr_pool);
diff --git a/app/test-pmd/icmpecho.c b/app/test-pmd/icmpecho.c
index 8948f28eb5af..ebff5ac9794f 100644
--- a/app/test-pmd/icmpecho.c
+++ b/app/test-pmd/icmpecho.c
@@ -54,7 +54,7 @@ arp_op_name(uint16_t arp_op)
 	default:
 		break;
 	}
-	return "Unkwown ARP op";
+	return "Unknown ARP op";
 }
 
 static const char *
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 18/18] test: fix spelling errors in comments
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
                     ` (16 preceding siblings ...)
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
@ 2021-09-09 18:10   ` Stephen Hemminger
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 18:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Lots of little typos.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test/test_atomic.c          |  2 +-
 app/test/test_barrier.c         |  2 +-
 app/test/test_bpf.c             |  2 +-
 app/test/test_compressdev.c     |  2 +-
 app/test/test_func_reentrancy.c |  6 +++---
 app/test/test_ipsec.c           |  2 +-
 app/test/test_link_bonding.c    |  2 +-
 app/test/test_lpm.c             |  6 +++---
 app/test/test_lpm6.c            | 14 +++++++-------
 app/test/test_malloc.c          |  4 ++--
 app/test/test_mbuf.c            |  2 +-
 app/test/test_mempool.c         |  2 +-
 app/test/test_mempool_perf.c    |  2 +-
 app/test/test_meter.c           |  6 +++---
 app/test/test_pmd_perf.c        |  2 +-
 app/test/test_timer.c           |  2 +-
 16 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c
index f10f555af8b4..7dfa10a70102 100644
--- a/app/test/test_atomic.c
+++ b/app/test/test_atomic.c
@@ -88,7 +88,7 @@
  *
  *   - Invoke ``test_atomic_exchange`` on each lcore.  Before doing
  *     anything else, the cores wait for a synchronization event.
- *     Each core then does the follwoing for N iterations:
+ *     Each core then does the following for N iterations:
  *
  *       Generate a new token with a data integrity check
  *       Exchange the new token for previously generated token
diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c
index c27f8a0742f2..8fa93c00329a 100644
--- a/app/test/test_barrier.c
+++ b/app/test/test_barrier.c
@@ -66,7 +66,7 @@ struct plock_test {
 struct lcore_plock_test {
 	struct plock_test *pt[2]; /* shared, lock-protected data */
 	uint64_t sum[2];          /* local copy of the shared data */
-	uint64_t iter;            /* number of iterations to perfom */
+	uint64_t iter;            /* number of iterations to perform */
 	uint32_t lc;              /* given lcore id */
 };
 
diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index 527c06b80708..cf6e022f7a92 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -2391,7 +2391,7 @@ static const struct ebpf_insn test_call5_prog[] = {
 	},
 };
 
-/* String comparision impelementation, return 0 if equal else difference */
+/* String comparison implementation, return 0 if equal else difference */
 static uint32_t
 dummy_func5(const char *s1, const char *s2)
 {
diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c
index 0571c17ecb8d..a7d04c02c6dd 100644
--- a/app/test/test_compressdev.c
+++ b/app/test/test_compressdev.c
@@ -2035,7 +2035,7 @@ test_deflate_comp_decomp(const struct interim_data_params *int_data,
 	test_priv_data.all_decomp_data = &all_decomp_data;
 	test_priv_data.decomp_produced_data_size = &decomp_produced_data_size;
 
-	test_priv_data.num_priv_xforms = 0; /* it's used for deompression only */
+	test_priv_data.num_priv_xforms = 0; /* it's used for decompression only */
 
 	capa = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE);
 	if (capa == NULL) {
diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c
index 231c99a9ebc5..69ff421b1824 100644
--- a/app/test/test_func_reentrancy.c
+++ b/app/test/test_func_reentrancy.c
@@ -242,7 +242,7 @@ hash_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple times simultaneously */
+	/* create multiple times simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_self, i);
 		hash_params.name = hash_name;
@@ -306,7 +306,7 @@ fbk_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_self, i);
 		fbk_params.name = fbk_name;
@@ -368,7 +368,7 @@ lpm_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_LPM_ITER_TIMES; i++) {
 		snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_self, i);
 		lpm = rte_lpm_create(lpm_name, SOCKET_ID_ANY, &config);
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index fb90130ae23b..f421ce45795b 100644
--- a/app/test/test_ipsec.c
+++ b/app/test/test_ipsec.c
@@ -654,7 +654,7 @@ create_crypto_session(struct ipsec_unitest_params *ut,
 	if (s == NULL)
 		return -ENOMEM;
 
-	/* initiliaze SA crypto session for device */
+	/* initialize SA crypto session for device */
 	rc = rte_cryptodev_sym_session_init(dev_id, s,
 			ut->crypto_xforms, qp->mp_session_private);
 	if (rc == 0) {
diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c
index 8a5c8310a8b4..fd246725096c 100644
--- a/app/test/test_link_bonding.c
+++ b/app/test/test_link_bonding.c
@@ -3041,7 +3041,7 @@ test_balance_tx_burst_slave_tx_fail(void)
 	first_tx_fail_idx = TEST_BAL_SLAVE_TX_FAIL_BURST_SIZE_1 -
 			TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT;
 
-	/* copy mbuf referneces for expected transmission failures */
+	/* copy mbuf references for expected transmission failures */
 	for (i = 0; i < TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT; i++)
 		expected_fail_pkts[i] = pkts_burst_1[i + first_tx_fail_idx];
 
diff --git a/app/test/test_lpm.c b/app/test/test_lpm.c
index 556f5a67baf1..37b460af3a96 100644
--- a/app/test/test_lpm.c
+++ b/app/test/test_lpm.c
@@ -179,7 +179,7 @@ test3(void)
 	status = rte_lpm_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -217,7 +217,7 @@ test4(void)
 	status = rte_lpm_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -255,7 +255,7 @@ test5(void)
 	status = rte_lpm_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c
index 0d664546fa47..17221f992aee 100644
--- a/app/test/test_lpm6.c
+++ b/app/test/test_lpm6.c
@@ -261,7 +261,7 @@ test4(void)
 	status = rte_lpm6_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -299,7 +299,7 @@ test5(void)
 	status = rte_lpm6_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -337,7 +337,7 @@ test6(void)
 	status = rte_lpm6_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -375,7 +375,7 @@ test7(void)
 	status = rte_lpm6_lookup_bulk_func(NULL, ip, next_hop_return, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -413,7 +413,7 @@ test8(void)
 	status = rte_lpm6_delete_bulk_func(NULL, ip, depth, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -433,7 +433,7 @@ test8(void)
 /*
  * Call add, lookup and delete for a single rule with depth < 24.
  * Check all the combinations for the first three bytes that result in a hit.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test9(void)
@@ -1738,7 +1738,7 @@ test27(void)
  * Call add, lookup and delete for a single rule with maximum 21bit next_hop
  * size.
  * Check that next_hop returned from lookup is equal to provisioned value.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test28(void)
diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c
index afff0de9f05a..6d9249f831be 100644
--- a/app/test/test_malloc.c
+++ b/app/test/test_malloc.c
@@ -603,7 +603,7 @@ test_realloc_numa(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2)
 		printf("WARNING: realloc_socket test needs memory on multiple sockets!\n");
 
@@ -971,7 +971,7 @@ test_alloc_socket(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2) {
 		printf("WARNING: alloc_socket test needs memory on multiple sockets!\n");
 	}
diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
index 9a248dfaea70..167c0938b633 100644
--- a/app/test/test_mbuf.c
+++ b/app/test/test_mbuf.c
@@ -1148,7 +1148,7 @@ test_refcnt_mbuf(void)
 
 	rte_eal_mp_wait_lcore();
 
-	/* check that we porcessed all references */
+	/* check that we processed all references */
 	tref = 0;
 	main_lcore = rte_get_main_lcore();
 
diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c
index 7675a3e605fb..5b559a04d142 100644
--- a/app/test/test_mempool.c
+++ b/app/test/test_mempool.c
@@ -628,7 +628,7 @@ test_mempool(void)
 	if (test_mempool_basic_ex(mp_nocache) < 0)
 		GOTO_ERR(ret, err);
 
-	/* mempool operation test based on single producer and single comsumer */
+	/* mempool operation test based on single producer and single consumer */
 	if (test_mempool_sp_sc() < 0)
 		GOTO_ERR(ret, err);
 
diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c
index 8f629736e8fd..87ad25136796 100644
--- a/app/test/test_mempool_perf.c
+++ b/app/test/test_mempool_perf.c
@@ -88,7 +88,7 @@ static uint32_t synchro;
 static unsigned n_get_bulk;
 static unsigned n_put_bulk;
 
-/* number of objects retrived from mempool before putting them back */
+/* number of objects retrieved from mempool before putting them back */
 static unsigned n_keep;
 
 /* number of enqueues / dequeues */
diff --git a/app/test/test_meter.c b/app/test/test_meter.c
index f6fe6494ab63..15d5a4839b4b 100644
--- a/app/test/test_meter.c
+++ b/app/test/test_meter.c
@@ -444,7 +444,7 @@ tm_test_srtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -551,7 +551,7 @@ tm_test_trtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -648,7 +648,7 @@ tm_test_trtcm_rfc4115_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
index 3a248d512c4a..1ef844ba7568 100644
--- a/app/test/test_pmd_perf.c
+++ b/app/test/test_pmd_perf.c
@@ -753,7 +753,7 @@ test_pmd_perf(void)
 				"rte_eth_dev_start: err=%d, port=%d\n",
 				ret, portid);
 
-		/* always eanble promiscuous */
+		/* always enable promiscuous */
 		ret = rte_eth_promiscuous_enable(portid);
 		if (ret != 0)
 			rte_exit(EXIT_FAILURE,
diff --git a/app/test/test_timer.c b/app/test/test_timer.c
index a10b2fe9daf4..631b737d169d 100644
--- a/app/test/test_timer.c
+++ b/app/test/test_timer.c
@@ -432,7 +432,7 @@ timer_basic_cb(struct rte_timer *tim, void *arg)
 		return;
 	}
 
-	/* Explicitelly stop timer 0. Once stop() called, we can even
+	/* Explicitly stop timer 0. Once stop() called, we can even
 	 * erase the content of the structure: it is not referenced
 	 * anymore by any code (in case of dynamic structure, it can
 	 * be freed) */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v2 15/18] vhost: fix typo in comment
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 15/18] vhost: " Stephen Hemminger
@ 2021-09-09 18:55     ` Maxime Coquelin
  0 siblings, 0 replies; 125+ messages in thread
From: Maxime Coquelin @ 2021-09-09 18:55 UTC (permalink / raw)
  To: Stephen Hemminger, dev



On 9/9/21 8:10 PM, Stephen Hemminger wrote:
> Yet another spelling error found by codespell.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/vhost/rte_vhost.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
> index 8d875e932297..c36dfc705b04 100644
> --- a/lib/vhost/rte_vhost.h
> +++ b/lib/vhost/rte_vhost.h
> @@ -776,7 +776,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
>  /**
>   * Set split inflight descriptor.
>   *
> - * This function save descriptors that has been comsumed in available
> + * This function save descriptors that has been consumed in available

While at it:
s/has/have/

>   * ring
>   *
>   * @param vid
> @@ -796,7 +796,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
>  /**
>   * Set packed inflight descriptor and get corresponding inflight entry
>   *
> - * This function save descriptors that has been comsumed
> + * This function save descriptors that has been consumed

Ditto.

>   *
>   * @param vid
>   *  vhost device ID
> 

Maxime


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments
  2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments Stephen Hemminger
@ 2021-09-09 19:49     ` Dmitry Kozlyuk
  2021-09-09 21:51       ` Stephen Hemminger
  0 siblings, 1 reply; 125+ messages in thread
From: Dmitry Kozlyuk @ 2021-09-09 19:49 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev

2021-09-09 11:10 (UTC-0700), Stephen Hemminger:
[...]
> diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c
> index 7b1291b382e9..3e7d3d730637 100644
> --- a/lib/bpf/bpf_validate.c
> +++ b/lib/bpf/bpf_validate.c
> @@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = {
>  
>  /*
>   * make sure that instruction syntax is valid,
> - * and it fields don't violate partciular instrcution type restrictions.
> + * and it fields don't violate particular instruction type restrictions.

Also "it" -> "its".

>   */
>  static const char *
>  check_syntax(const struct ebpf_insn *ins)
> @@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf)
>  
>  		/*
>  		 * construct CFG, jcc nodes have to outgoing edges,
> -		 * 'exit' nodes - none, all others nodes have exaclty one
> +		 * 'exit' nodes - none, all others nodes have exactly one

Also "others" -> "other".

>  		 * outgoing edge.
>  		 */
>  		switch (ins->code) {


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments
  2021-09-09 19:49     ` Dmitry Kozlyuk
@ 2021-09-09 21:51       ` Stephen Hemminger
  0 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-09 21:51 UTC (permalink / raw)
  To: Dmitry Kozlyuk; +Cc: dev

On Thu, 9 Sep 2021 22:49:56 +0300
Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> wrote:

> 2021-09-09 11:10 (UTC-0700), Stephen Hemminger:
> [...]
> > diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c
> > index 7b1291b382e9..3e7d3d730637 100644
> > --- a/lib/bpf/bpf_validate.c
> > +++ b/lib/bpf/bpf_validate.c
> > @@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = {
> >  
> >  /*
> >   * make sure that instruction syntax is valid,
> > - * and it fields don't violate partciular instrcution type restrictions.
> > + * and it fields don't violate particular instruction type restrictions.  
> 
> Also "it" -> "its".
> 
> >   */
> >  static const char *
> >  check_syntax(const struct ebpf_insn *ins)
> > @@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf)
> >  
> >  		/*
> >  		 * construct CFG, jcc nodes have to outgoing edges,
> > -		 * 'exit' nodes - none, all others nodes have exaclty one
> > +		 * 'exit' nodes - none, all others nodes have exactly one  
> 
> Also "others" -> "other".
> 
> >  		 * outgoing edge.
> >  		 */
> >  		switch (ins->code) {  
> 

Good catch, codespell and others don't check grammar.

^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 00/18] fix spelling errors
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (18 preceding siblings ...)
  2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
@ 2021-09-13 16:10 ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 01/18] node: fix typos Stephen Hemminger
                     ` (17 more replies)
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
  21 siblings, 18 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

After finding a few typos in BPF, decided to cast a
wider net and fix lots more places.  These are all contained
to typos in strings or comments.

v2 - more spelling fixes in bpf library

Stephen Hemminger (18):
  node: fix typos
  ipsec: fix spelling errors
  eventdev: fix typo in comment
  power: fix typo in comment
  rcu: fix typo in comment
  bpf: fix spelling in comments
  acl: fix spelling errors
  eal: fix typos in comments
  net: fix spelling error in gtp comment
  bbdev: fix typo in comment
  pipeline: fix spellin error in comment
  hash: fix typo in comment
  rib: fix typo in comment
  sched: fix typo in comment
  vhost: fix typo in comment
  ip_frag: fix typos
  test-pmd: fix spelling errors in comments
  test: fix spelling errors in comments

 app/test-pmd/cmdline.c                    |  2 +-
 app/test-pmd/config.c                     |  4 ++--
 app/test-pmd/icmpecho.c                   |  2 +-
 app/test/test_atomic.c                    |  2 +-
 app/test/test_barrier.c                   |  2 +-
 app/test/test_bpf.c                       |  2 +-
 app/test/test_compressdev.c               |  2 +-
 app/test/test_func_reentrancy.c           |  6 +++---
 app/test/test_ipsec.c                     |  2 +-
 app/test/test_link_bonding.c              |  2 +-
 app/test/test_lpm.c                       |  6 +++---
 app/test/test_lpm6.c                      | 14 +++++++-------
 app/test/test_malloc.c                    |  4 ++--
 app/test/test_mbuf.c                      |  2 +-
 app/test/test_mempool.c                   |  2 +-
 app/test/test_mempool_perf.c              |  2 +-
 app/test/test_meter.c                     |  6 +++---
 app/test/test_pmd_perf.c                  |  2 +-
 app/test/test_timer.c                     |  2 +-
 lib/acl/acl.h                             |  4 ++--
 lib/acl/acl_bld.c                         |  2 +-
 lib/acl/acl_run_avx2.h                    |  2 +-
 lib/bbdev/rte_bbdev.c                     |  2 +-
 lib/bpf/bpf_jit_x86.c                     |  2 +-
 lib/bpf/bpf_load_elf.c                    |  2 +-
 lib/bpf/bpf_pkt.c                         |  2 +-
 lib/bpf/bpf_validate.c                    |  8 ++++----
 lib/eal/include/rte_function_versioning.h |  2 +-
 lib/eal/windows/include/fnmatch.h         |  2 +-
 lib/eventdev/rte_event_timer_adapter.c    |  2 +-
 lib/hash/rte_thash.c                      |  2 +-
 lib/ip_frag/rte_ipv4_reassembly.c         |  2 +-
 lib/ipsec/esp_inb.c                       |  4 ++--
 lib/ipsec/esp_outb.c                      |  2 +-
 lib/ipsec/ipsec_sad.c                     |  2 +-
 lib/ipsec/sa.c                            |  2 +-
 lib/ipsec/sa.h                            |  2 +-
 lib/net/rte_gtp.h                         |  6 +++---
 lib/node/ethdev_rx_priv.h                 |  2 +-
 lib/node/ethdev_tx_priv.h                 |  2 +-
 lib/node/ip4_rewrite_priv.h               |  2 +-
 lib/pipeline/rte_swx_pipeline.h           |  2 +-
 lib/power/power_acpi_cpufreq.c            |  2 +-
 lib/rcu/rte_rcu_qsbr.h                    |  2 +-
 lib/rib/rte_rib6.c                        |  2 +-
 lib/sched/rte_sched.c                     |  2 +-
 lib/vhost/rte_vhost.h                     |  4 ++--
 47 files changed, 69 insertions(+), 69 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 01/18] node: fix typos
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors Stephen Hemminger
                     ` (16 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Spelling errors in comments including doxygen

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/node/ethdev_rx_priv.h   | 2 +-
 lib/node/ethdev_tx_priv.h   | 2 +-
 lib/node/ip4_rewrite_priv.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/node/ethdev_rx_priv.h b/lib/node/ethdev_rx_priv.h
index efcd66dd4817..76cf77d60315 100644
--- a/lib/node/ethdev_rx_priv.h
+++ b/lib/node/ethdev_rx_priv.h
@@ -71,7 +71,7 @@ struct ethdev_rx_node_main *ethdev_rx_get_node_data_get(void);
  *
  * Get the Ethernet Rx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Rx node.
  */
 struct rte_node_register *ethdev_rx_node_get(void);
diff --git a/lib/node/ethdev_tx_priv.h b/lib/node/ethdev_tx_priv.h
index 586bff44a737..9ced520bd209 100644
--- a/lib/node/ethdev_tx_priv.h
+++ b/lib/node/ethdev_tx_priv.h
@@ -50,7 +50,7 @@ struct ethdev_tx_node_main *ethdev_tx_node_data_get(void);
  *
  * Get the Ethernet Tx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Tx node.
  */
 struct rte_node_register *ethdev_tx_node_get(void);
diff --git a/lib/node/ip4_rewrite_priv.h b/lib/node/ip4_rewrite_priv.h
index 80f0abdc94eb..036469746b29 100644
--- a/lib/node/ip4_rewrite_priv.h
+++ b/lib/node/ip4_rewrite_priv.h
@@ -53,7 +53,7 @@ struct ip4_rewrite_node_main {
  *
  * Get the ipv4 rewrite node.
  *
- * @retrun
+ * @return
  *   Pointer to the ipv4 rewrite node.
  */
 struct rte_node_register *ip4_rewrite_node_get(void);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 01/18] node: fix typos Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-10-07 17:32     ` Ananyev, Konstantin
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment Stephen Hemminger
                     ` (15 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Lots of typos in comments found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/ipsec/esp_inb.c   | 4 ++--
 lib/ipsec/esp_outb.c  | 2 +-
 lib/ipsec/ipsec_sad.c | 2 +-
 lib/ipsec/sa.c        | 2 +-
 lib/ipsec/sa.h        | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c
index 2b1df6a032a8..846fc0ea71a2 100644
--- a/lib/ipsec/esp_inb.c
+++ b/lib/ipsec/esp_inb.c
@@ -415,7 +415,7 @@ trs_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml,
 
 /*
  * packet checks for tunnel mode:
- * - same as for trasnport mode
+ * - same as for transport mode
  * - esp tail next proto contains expected for that SA value
  */
 static inline int32_t
@@ -501,7 +501,7 @@ trs_process_step3(struct rte_mbuf *mb)
 static inline void
 tun_process_step3(struct rte_mbuf *mb, uint64_t txof_msk, uint64_t txof_val)
 {
-	/* reset mbuf metatdata: L2/L3 len, packet type */
+	/* reset mbuf metadata: L2/L3 len, packet type */
 	mb->packet_type = RTE_PTYPE_UNKNOWN;
 	mb->tx_offload = (mb->tx_offload & txof_msk) | txof_val;
 
diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c
index 1e181cf2cee4..0bf3cd6bd4da 100644
--- a/lib/ipsec/esp_outb.c
+++ b/lib/ipsec/esp_outb.c
@@ -525,7 +525,7 @@ cpu_outb_trs_pkt_prepare(const struct rte_ipsec_session *ss,
 
 /*
  * process outbound packets for SA with ESN support,
- * for algorithms that require SQN.hibits to be implictly included
+ * for algorithms that require SQN.hibits to be implicitly included
  * into digest computation.
  * In that case we have to move ICV bytes back to their proper place.
  */
diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c
index 3f9533c80a68..531e1e323cdc 100644
--- a/lib/ipsec/ipsec_sad.c
+++ b/lib/ipsec/ipsec_sad.c
@@ -62,7 +62,7 @@ EAL_REGISTER_TAILQ(rte_ipsec_sad_tailq)
  * Inserts a rule into an appropriate hash table,
  * updates the value for a given SPI in SPI_ONLY hash table
  * reflecting presence of more specific rule type in two LSBs.
- * Updates a counter that reflects the number of rules whith the same SPI.
+ * Updates a counter that reflects the number of rules with the same SPI.
  */
 static inline int
 add_specific(struct rte_ipsec_sad *sad, const void *key,
diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c
index e59189d215b3..f49b3ec15d4f 100644
--- a/lib/ipsec/sa.c
+++ b/lib/ipsec/sa.c
@@ -126,7 +126,7 @@ ipsec_sa_size(uint64_t type, uint32_t *wnd_sz, uint32_t *nb_bucket)
 		/*
 		 * RFC 4303 recommends 64 as minimum window size.
 		 * there is no point to use ESN mode without SQN window,
-		 * so make sure we have at least 64 window when ESN is enalbed.
+		 * so make sure we have at least 64 window when ESN is enabled.
 		 */
 		wsz = ((type & RTE_IPSEC_SATP_ESN_MASK) ==
 			RTE_IPSEC_SATP_ESN_DISABLE) ?
diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h
index 1bffe751f586..b8ce4e958119 100644
--- a/lib/ipsec/sa.h
+++ b/lib/ipsec/sa.h
@@ -116,7 +116,7 @@ struct rte_ipsec_sa {
 	 * In case of SA handled by multiple threads *sqn* cacheline
 	 * could be shared by multiple cores.
 	 * To minimise performance impact, we try to locate in a separate
-	 * place from other frequently accesed data.
+	 * place from other frequently accessed data.
 	 */
 	union {
 		uint64_t outb;
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 01/18] node: fix typos Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 04/18] power: " Stephen Hemminger
                     ` (14 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Typo in comment found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eventdev/rte_event_timer_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/eventdev/rte_event_timer_adapter.c b/lib/eventdev/rte_event_timer_adapter.c
index ee20b39f4b24..b5c2dc1427c6 100644
--- a/lib/eventdev/rte_event_timer_adapter.c
+++ b/lib/eventdev/rte_event_timer_adapter.c
@@ -493,7 +493,7 @@ event_buffer_flush(struct event_buffer *bufp, uint8_t dev_id, uint8_t port_id,
 
 	RTE_ASSERT(head_idx < EVENT_BUFFER_SZ && tail_idx < EVENT_BUFFER_SZ);
 
-	/* Determine the largest contigous run we can attempt to enqueue to the
+	/* Determine the largest contiguous run we can attempt to enqueue to the
 	 * event device.
 	 */
 	if (head_idx > tail_idx)
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 04/18] power: fix typo in comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (2 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 05/18] rcu: " Stephen Hemminger
                     ` (13 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

More spelling errors caught by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/power/power_acpi_cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/power/power_acpi_cpufreq.c b/lib/power/power_acpi_cpufreq.c
index 1e8aeb84037c..402ed8c99b42 100644
--- a/lib/power/power_acpi_cpufreq.c
+++ b/lib/power/power_acpi_cpufreq.c
@@ -159,7 +159,7 @@ power_get_available_freqs(struct acpi_power_info *pi)
 		goto out;
 	}
 
-	/* Store the available frequncies into power context */
+	/* Store the available frequencies into power context */
 	for (i = 0, pi->nb_freqs = 0; i < count; i++) {
 		POWER_DEBUG_TRACE("Lcore %u frequency[%d]: %s\n", pi->lcore_id,
 				i, freqs[i]);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 05/18] rcu: fix typo in comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (3 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 04/18] power: " Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments Stephen Hemminger
                     ` (12 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Another codespell find.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rcu/rte_rcu_qsbr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h
index 18811c1cc106..62a420a785fc 100644
--- a/lib/rcu/rte_rcu_qsbr.h
+++ b/lib/rcu/rte_rcu_qsbr.h
@@ -362,7 +362,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v, unsigned int thread_id)
 
 	/* The reader can go offline only after the load of the
 	 * data structure is completed. i.e. any load of the
-	 * data strcture can not move after this store.
+	 * data structure can not move after this store.
 	 */
 
 	__atomic_store_n(&v->qsbr_cnt[thread_id].cnt,
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (4 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 05/18] rcu: " Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-10-07 12:20     ` Ananyev, Konstantin
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors Stephen Hemminger
                     ` (11 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Found by running codespell on the bpf implementation.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/bpf/bpf_jit_x86.c  | 2 +-
 lib/bpf/bpf_load_elf.c | 2 +-
 lib/bpf/bpf_pkt.c      | 2 +-
 lib/bpf/bpf_validate.c | 8 ++++----
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c
index aa22ea78a01d..518513376a67 100644
--- a/lib/bpf/bpf_jit_x86.c
+++ b/lib/bpf/bpf_jit_x86.c
@@ -1245,7 +1245,7 @@ emit_epilog(struct bpf_jit_state *st)
 	uint32_t i;
 	int32_t spil, ofs;
 
-	/* if we allready have an epilog generate a jump to it */
+	/* if we already have an epilog generate a jump to it */
 	if (st->exit.num++ != 0) {
 		emit_abs_jmp(st, st->exit.off);
 		return;
diff --git a/lib/bpf/bpf_load_elf.c b/lib/bpf/bpf_load_elf.c
index 2b11adeb5eb1..02a5d8ba0d07 100644
--- a/lib/bpf/bpf_load_elf.c
+++ b/lib/bpf/bpf_load_elf.c
@@ -80,7 +80,7 @@ resolve_xsym(const char *sn, size_t ofs, struct ebpf_insn *ins, size_t ins_sz,
 	if (type == RTE_BPF_XTYPE_FUNC) {
 
 		/* we don't support multiple functions per BPF module,
-		 * so treat EBPF_PSEUDO_CALL to extrernal function
+		 * so treat EBPF_PSEUDO_CALL to external function
 		 * as an ordinary EBPF_CALL.
 		 */
 		if (ins[idx].src_reg == EBPF_PSEUDO_CALL) {
diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c
index 6e8248f0d6e4..701e8e2c62a9 100644
--- a/lib/bpf/bpf_pkt.c
+++ b/lib/bpf/bpf_pkt.c
@@ -169,7 +169,7 @@ bpf_eth_cbh_add(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue)
 }
 
 /*
- * BPF packet processing routinies.
+ * BPF packet processing routines.
  */
 
 static inline uint32_t
diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c
index 7b1291b382e9..eb8016ef196c 100644
--- a/lib/bpf/bpf_validate.c
+++ b/lib/bpf/bpf_validate.c
@@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = {
 
 /*
  * make sure that instruction syntax is valid,
- * and it fields don't violate partciular instrcution type restrictions.
+ * and its fields don't violate particular instruction type restrictions.
  */
 static const char *
 check_syntax(const struct ebpf_insn *ins)
@@ -1954,7 +1954,7 @@ log_loop(const struct bpf_verifier *bvf)
  * First pass goes though all instructions in the set, checks that each
  * instruction is a valid one (correct syntax, valid field values, etc.)
  * and constructs control flow graph (CFG).
- * Then deapth-first search is performed over the constructed graph.
+ * Then depth-first search is performed over the constructed graph.
  * Programs with unreachable instructions and/or loops will be rejected.
  */
 static int
@@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf)
 
 		/*
 		 * construct CFG, jcc nodes have to outgoing edges,
-		 * 'exit' nodes - none, all others nodes have exaclty one
+		 * 'exit' nodes - none, all other nodes have exactly one
 		 * outgoing edge.
 		 */
 		switch (ins->code) {
@@ -2251,7 +2251,7 @@ evaluate(struct bpf_verifier *bvf)
 			idx = get_node_idx(bvf, node);
 			op = ins[idx].code;
 
-			/* for jcc node make a copy of evaluatoion state */
+			/* for jcc node make a copy of evaluation state */
 			if (node->nb_edge > 1)
 				rc |= save_eval_state(bvf, node);
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (5 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-10-07 16:23     ` Ananyev, Konstantin
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments Stephen Hemminger
                     ` (10 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Lots of little typos in comments

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/acl/acl.h          | 4 ++--
 lib/acl/acl_bld.c      | 2 +-
 lib/acl/acl_run_avx2.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/acl/acl.h b/lib/acl/acl.h
index 4089ab2a0462..f5739a475cf0 100644
--- a/lib/acl/acl.h
+++ b/lib/acl/acl.h
@@ -45,7 +45,7 @@ struct rte_acl_bitset {
  * Each transition is 64 bit value with the following format:
  * | node_type_specific : 32 | node_type : 3 | node_addr : 29 |
  * For all node types except RTE_ACL_NODE_MATCH, node_addr is an index
- * to the start of the node in the transtions array.
+ * to the start of the node in the transitions array.
  * Few different node types are used:
  * RTE_ACL_NODE_MATCH:
  * node_addr value is and index into an array that contains the return value
@@ -66,7 +66,7 @@ struct rte_acl_bitset {
  * RTE_ACL_NODE_SINGLE:
  * always transitions to the same node regardless of the input value.
  * RTE_ACL_NODE_DFA:
- * that node consits of up to 256 transitions.
+ * that node consists of up to 256 transitions.
  * In attempt to conserve space all transitions are divided into 4 consecutive
  * groups, by 64 transitions per group:
  * group64[i] contains transitions[i * 64, .. i * 64 + 63].
diff --git a/lib/acl/acl_bld.c b/lib/acl/acl_bld.c
index da10864cd870..f316d3e875ef 100644
--- a/lib/acl/acl_bld.c
+++ b/lib/acl/acl_bld.c
@@ -1494,7 +1494,7 @@ acl_set_data_indexes(struct rte_acl_ctx *ctx)
 /*
  * Internal routine, performs 'build' phase of trie generation:
  * - setups build context.
- * - analizes given set of rules.
+ * - analyzes given set of rules.
  * - builds internal tree(s).
  */
 static int
diff --git a/lib/acl/acl_run_avx2.h b/lib/acl/acl_run_avx2.h
index d06d2e8782d6..0b8967f22e70 100644
--- a/lib/acl/acl_run_avx2.h
+++ b/lib/acl/acl_run_avx2.h
@@ -125,7 +125,7 @@ acl_process_matches_avx2x8(const struct rte_acl_ctx *ctx,
 	/* For each transition: put low 32 into tr_lo and high 32 into tr_hi */
 	ACL_TR_HILO(mm256, __m256, t0, t1, lo, hi);
 
-	/* Keep transitions wth NOMATCH intact. */
+	/* Keep transitions with NOMATCH intact. */
 	*tr_lo = _mm256_blendv_epi8(*tr_lo, lo, matches);
 	*tr_hi = _mm256_blendv_epi8(*tr_hi, hi, matches);
 }
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (6 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment Stephen Hemminger
                     ` (9 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Minor spelling errors.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eal/include/rte_function_versioning.h | 2 +-
 lib/eal/windows/include/fnmatch.h         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/eal/include/rte_function_versioning.h b/lib/eal/include/rte_function_versioning.h
index 746a1e19923e..eb6dd2bc1727 100644
--- a/lib/eal/include/rte_function_versioning.h
+++ b/lib/eal/include/rte_function_versioning.h
@@ -15,7 +15,7 @@
 
 /*
  * Provides backwards compatibility when updating exported functions.
- * When a symol is exported from a library to provide an API, it also provides a
+ * When a symbol is exported from a library to provide an API, it also provides a
  * calling convention (ABI) that is embodied in its name, return type,
  * arguments, etc.  On occasion that function may need to change to accommodate
  * new functionality, behavior, etc.  When that occurs, it is desirable to
diff --git a/lib/eal/windows/include/fnmatch.h b/lib/eal/windows/include/fnmatch.h
index 142753c3568d..c272f65ccdc3 100644
--- a/lib/eal/windows/include/fnmatch.h
+++ b/lib/eal/windows/include/fnmatch.h
@@ -30,7 +30,7 @@ extern "C" {
  * with the given regular expression pattern.
  *
  * @param pattern
- *	regular expression notation decribing the pattern to match
+ *	regular expression notation describing the pattern to match
  *
  * @param string
  *	source string to searcg for the pattern
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (7 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment Stephen Hemminger
                     ` (8 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

More codespell finds.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/net/rte_gtp.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/net/rte_gtp.h b/lib/net/rte_gtp.h
index 6a6f9b238db9..f22dbce47c65 100644
--- a/lib/net/rte_gtp.h
+++ b/lib/net/rte_gtp.h
@@ -64,9 +64,9 @@ struct rte_gtp_hdr_ext_word {
 /** GTP header length */
 #define RTE_ETHER_GTP_HLEN \
 	(sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))
-/* GTP next protocal type */
-#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocal type IPv4 */
-#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocal type IPv6 */
+/* GTP next protocol type */
+#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocol type IPv4 */
+#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocol type IPv6 */
 /* GTP destination port number */
 #define RTE_GTPC_UDP_PORT 2123 /**< GTP-C UDP destination port */
 #define RTE_GTPU_UDP_PORT 2152 /**< GTP-U UDP destination port */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (8 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error " Stephen Hemminger
                     ` (7 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/bbdev/rte_bbdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c
index fc37236195be..49a0de49d8df 100644
--- a/lib/bbdev/rte_bbdev.c
+++ b/lib/bbdev/rte_bbdev.c
@@ -138,7 +138,7 @@ rte_bbdev_data_alloc(void)
 }
 
 /*
- * Find data alocated for the device or if not found return first unused bbdev
+ * Find data allocated for the device or if not found return first unused bbdev
  * data. If all structures are in use and none is used by the device return
  * NULL.
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error in comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (9 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 12/18] hash: fix typo " Stephen Hemminger
                     ` (6 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Minor typo

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/pipeline/rte_swx_pipeline.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h
index cd395ac39dbb..9bfc69b2bb4f 100644
--- a/lib/pipeline/rte_swx_pipeline.h
+++ b/lib/pipeline/rte_swx_pipeline.h
@@ -620,7 +620,7 @@ struct rte_swx_pipeline_selector_params {
 	const char *group_id_field_name;
 
 	/** The set of fields used to select (through a hashing scheme) the
-	 * member within the current group. Inputs into the seletion operation.
+	 * member within the current group. Inputs into the selection operation.
 	 * Restriction: All the selector fields must be part of the same struct,
 	 * i.e. part of the same header or part of the meta-data structure.
 	 */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 12/18] hash: fix typo in comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (10 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error " Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 13/18] rib: " Stephen Hemminger
                     ` (5 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/hash/rte_thash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c
index d5a95a6e009a..f5e9111f0264 100644
--- a/lib/hash/rte_thash.c
+++ b/lib/hash/rte_thash.c
@@ -26,7 +26,7 @@ EAL_REGISTER_TAILQ(rte_thash_tailq)
 
 /**
  * Table of some irreducible polinomials over GF(2).
- * For lfsr they are reperesented in BE bit order, and
+ * For lfsr they are represented in BE bit order, and
  * x^0 is masked out.
  * For example, poly x^5 + x^2 + 1 will be represented
  * as (101001b & 11111b) = 01001b = 0x9
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 13/18] rib: fix typo in comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (11 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 12/18] hash: fix typo " Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 14/18] sched: " Stephen Hemminger
                     ` (4 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rib/rte_rib6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c
index 96424e9c9f4f..4a6f29b0040d 100644
--- a/lib/rib/rte_rib6.c
+++ b/lib/rib/rte_rib6.c
@@ -199,7 +199,7 @@ rte_rib6_lookup_exact(struct rte_rib6 *rib,
 }
 
 /*
- *  Traverses on subtree and retreeves more specific routes
+ *  Traverses on subtree and retrieves more specific routes
  *  for a given in args ip/depth prefix
  *  last = NULL means the first invocation
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 14/18] sched: fix typo in comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (12 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 13/18] rib: " Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 15/18] vhost: " Stephen Hemminger
                     ` (3 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/sched/rte_sched.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index a858f61f9548..329f4b2e7b48 100644
--- a/lib/sched/rte_sched.c
+++ b/lib/sched/rte_sched.c
@@ -579,7 +579,7 @@ rte_sched_subport_config_qsize(struct rte_sched_subport *subport)
 
 	subport->qsize_add[0] = 0;
 
-	/* Strict prority traffic class */
+	/* Strict priority traffic class */
 	for (i = 1; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
 		subport->qsize_add[i] = subport->qsize_add[i-1] + subport->qsize[i-1];
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 15/18] vhost: fix typo in comment
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (13 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 14/18] sched: " Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-14  8:20     ` Maxime Coquelin
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos Stephen Hemminger
                     ` (2 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/vhost/rte_vhost.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
index 8d875e932297..c36dfc705b04 100644
--- a/lib/vhost/rte_vhost.h
+++ b/lib/vhost/rte_vhost.h
@@ -776,7 +776,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
 /**
  * Set split inflight descriptor.
  *
- * This function save descriptors that has been comsumed in available
+ * This function save descriptors that has been consumed in available
  * ring
  *
  * @param vid
@@ -796,7 +796,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
 /**
  * Set packed inflight descriptor and get corresponding inflight entry
  *
- * This function save descriptors that has been comsumed
+ * This function save descriptors that has been consumed
  *
  * @param vid
  *  vhost device ID
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (14 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 15/18] vhost: " Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-10-07 16:27     ` Ananyev, Konstantin
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 18/18] test: " Stephen Hemminger
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Minor typos in comment.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/ip_frag/rte_ipv4_reassembly.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ip_frag/rte_ipv4_reassembly.c b/lib/ip_frag/rte_ipv4_reassembly.c
index 69666c8b8271..4a89a5f5365a 100644
--- a/lib/ip_frag/rte_ipv4_reassembly.c
+++ b/lib/ip_frag/rte_ipv4_reassembly.c
@@ -80,7 +80,7 @@ ipv4_frag_reassemble(struct ip_frag_pkt *fp)
 
 /*
  * Process new mbuf with fragment of IPV4 packet.
- * Incoming mbuf should have it's l2_len/l3_len fields setuped correclty.
+ * Incoming mbuf should have it's l2_len/l3_len fields setup correctly.
  * @param tbl
  *   Table where to lookup/add the fragmented packet.
  * @param mb
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (15 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 18/18] test: " Stephen Hemminger
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

More typos

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test-pmd/cmdline.c  | 2 +-
 app/test-pmd/config.c   | 4 ++--
 app/test-pmd/icmpecho.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 82253bc75110..2628bd64dae6 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -3670,7 +3670,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items,
 		return nb_item;
 
 	/*
-	 * Then, check that all values in the list are differents.
+	 * Then, check that all values in the list are different.
 	 * No optimization here...
 	 */
 	for (i = 0; i < nb_item; i++) {
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 31d8ba1b913c..d274c6669d50 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -2777,7 +2777,7 @@ port_rss_reta_info(portid_t port_id,
 }
 
 /*
- * Displays the RSS hash functions of a port, and, optionaly, the RSS hash
+ * Displays the RSS hash functions of a port, and, optionally, the RSS hash
  * key of the port.
  */
 void
@@ -4932,7 +4932,7 @@ mcast_addr_pool_remove(struct rte_port *port, uint32_t addr_idx)
 {
 	port->mc_addr_nb--;
 	if (addr_idx == port->mc_addr_nb) {
-		/* No need to recompact the set of multicast addressses. */
+		/* No need to recompact the set of multicast addresses. */
 		if (port->mc_addr_nb == 0) {
 			/* free the pool of multicast addresses. */
 			free(port->mc_addr_pool);
diff --git a/app/test-pmd/icmpecho.c b/app/test-pmd/icmpecho.c
index 8948f28eb5af..ebff5ac9794f 100644
--- a/app/test-pmd/icmpecho.c
+++ b/app/test-pmd/icmpecho.c
@@ -54,7 +54,7 @@ arp_op_name(uint16_t arp_op)
 	default:
 		break;
 	}
-	return "Unkwown ARP op";
+	return "Unknown ARP op";
 }
 
 static const char *
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v2 18/18] test: fix spelling errors in comments
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
                     ` (16 preceding siblings ...)
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
@ 2021-09-13 16:10   ` Stephen Hemminger
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-09-13 16:10 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

Lots of little typos.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test/test_atomic.c          |  2 +-
 app/test/test_barrier.c         |  2 +-
 app/test/test_bpf.c             |  2 +-
 app/test/test_compressdev.c     |  2 +-
 app/test/test_func_reentrancy.c |  6 +++---
 app/test/test_ipsec.c           |  2 +-
 app/test/test_link_bonding.c    |  2 +-
 app/test/test_lpm.c             |  6 +++---
 app/test/test_lpm6.c            | 14 +++++++-------
 app/test/test_malloc.c          |  4 ++--
 app/test/test_mbuf.c            |  2 +-
 app/test/test_mempool.c         |  2 +-
 app/test/test_mempool_perf.c    |  2 +-
 app/test/test_meter.c           |  6 +++---
 app/test/test_pmd_perf.c        |  2 +-
 app/test/test_timer.c           |  2 +-
 16 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c
index f10f555af8b4..7dfa10a70102 100644
--- a/app/test/test_atomic.c
+++ b/app/test/test_atomic.c
@@ -88,7 +88,7 @@
  *
  *   - Invoke ``test_atomic_exchange`` on each lcore.  Before doing
  *     anything else, the cores wait for a synchronization event.
- *     Each core then does the follwoing for N iterations:
+ *     Each core then does the following for N iterations:
  *
  *       Generate a new token with a data integrity check
  *       Exchange the new token for previously generated token
diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c
index c27f8a0742f2..8fa93c00329a 100644
--- a/app/test/test_barrier.c
+++ b/app/test/test_barrier.c
@@ -66,7 +66,7 @@ struct plock_test {
 struct lcore_plock_test {
 	struct plock_test *pt[2]; /* shared, lock-protected data */
 	uint64_t sum[2];          /* local copy of the shared data */
-	uint64_t iter;            /* number of iterations to perfom */
+	uint64_t iter;            /* number of iterations to perform */
 	uint32_t lc;              /* given lcore id */
 };
 
diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index 527c06b80708..cf6e022f7a92 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -2391,7 +2391,7 @@ static const struct ebpf_insn test_call5_prog[] = {
 	},
 };
 
-/* String comparision impelementation, return 0 if equal else difference */
+/* String comparison implementation, return 0 if equal else difference */
 static uint32_t
 dummy_func5(const char *s1, const char *s2)
 {
diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c
index 0571c17ecb8d..a7d04c02c6dd 100644
--- a/app/test/test_compressdev.c
+++ b/app/test/test_compressdev.c
@@ -2035,7 +2035,7 @@ test_deflate_comp_decomp(const struct interim_data_params *int_data,
 	test_priv_data.all_decomp_data = &all_decomp_data;
 	test_priv_data.decomp_produced_data_size = &decomp_produced_data_size;
 
-	test_priv_data.num_priv_xforms = 0; /* it's used for deompression only */
+	test_priv_data.num_priv_xforms = 0; /* it's used for decompression only */
 
 	capa = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE);
 	if (capa == NULL) {
diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c
index 231c99a9ebc5..69ff421b1824 100644
--- a/app/test/test_func_reentrancy.c
+++ b/app/test/test_func_reentrancy.c
@@ -242,7 +242,7 @@ hash_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple times simultaneously */
+	/* create multiple times simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_self, i);
 		hash_params.name = hash_name;
@@ -306,7 +306,7 @@ fbk_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_self, i);
 		fbk_params.name = fbk_name;
@@ -368,7 +368,7 @@ lpm_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_LPM_ITER_TIMES; i++) {
 		snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_self, i);
 		lpm = rte_lpm_create(lpm_name, SOCKET_ID_ANY, &config);
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index c6d6b88d6d9e..923bf9864412 100644
--- a/app/test/test_ipsec.c
+++ b/app/test/test_ipsec.c
@@ -653,7 +653,7 @@ create_crypto_session(struct ipsec_unitest_params *ut,
 	if (s == NULL)
 		return -ENOMEM;
 
-	/* initiliaze SA crypto session for device */
+	/* initialize SA crypto session for device */
 	rc = rte_cryptodev_sym_session_init(dev_id, s,
 			ut->crypto_xforms, qp->mp_session_private);
 	if (rc == 0) {
diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c
index 8a5c8310a8b4..fd246725096c 100644
--- a/app/test/test_link_bonding.c
+++ b/app/test/test_link_bonding.c
@@ -3041,7 +3041,7 @@ test_balance_tx_burst_slave_tx_fail(void)
 	first_tx_fail_idx = TEST_BAL_SLAVE_TX_FAIL_BURST_SIZE_1 -
 			TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT;
 
-	/* copy mbuf referneces for expected transmission failures */
+	/* copy mbuf references for expected transmission failures */
 	for (i = 0; i < TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT; i++)
 		expected_fail_pkts[i] = pkts_burst_1[i + first_tx_fail_idx];
 
diff --git a/app/test/test_lpm.c b/app/test/test_lpm.c
index 556f5a67baf1..37b460af3a96 100644
--- a/app/test/test_lpm.c
+++ b/app/test/test_lpm.c
@@ -179,7 +179,7 @@ test3(void)
 	status = rte_lpm_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -217,7 +217,7 @@ test4(void)
 	status = rte_lpm_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -255,7 +255,7 @@ test5(void)
 	status = rte_lpm_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c
index 0d664546fa47..17221f992aee 100644
--- a/app/test/test_lpm6.c
+++ b/app/test/test_lpm6.c
@@ -261,7 +261,7 @@ test4(void)
 	status = rte_lpm6_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -299,7 +299,7 @@ test5(void)
 	status = rte_lpm6_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -337,7 +337,7 @@ test6(void)
 	status = rte_lpm6_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -375,7 +375,7 @@ test7(void)
 	status = rte_lpm6_lookup_bulk_func(NULL, ip, next_hop_return, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -413,7 +413,7 @@ test8(void)
 	status = rte_lpm6_delete_bulk_func(NULL, ip, depth, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -433,7 +433,7 @@ test8(void)
 /*
  * Call add, lookup and delete for a single rule with depth < 24.
  * Check all the combinations for the first three bytes that result in a hit.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test9(void)
@@ -1738,7 +1738,7 @@ test27(void)
  * Call add, lookup and delete for a single rule with maximum 21bit next_hop
  * size.
  * Check that next_hop returned from lookup is equal to provisioned value.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test28(void)
diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c
index afff0de9f05a..6d9249f831be 100644
--- a/app/test/test_malloc.c
+++ b/app/test/test_malloc.c
@@ -603,7 +603,7 @@ test_realloc_numa(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2)
 		printf("WARNING: realloc_socket test needs memory on multiple sockets!\n");
 
@@ -971,7 +971,7 @@ test_alloc_socket(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2) {
 		printf("WARNING: alloc_socket test needs memory on multiple sockets!\n");
 	}
diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
index 9a248dfaea70..167c0938b633 100644
--- a/app/test/test_mbuf.c
+++ b/app/test/test_mbuf.c
@@ -1148,7 +1148,7 @@ test_refcnt_mbuf(void)
 
 	rte_eal_mp_wait_lcore();
 
-	/* check that we porcessed all references */
+	/* check that we processed all references */
 	tref = 0;
 	main_lcore = rte_get_main_lcore();
 
diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c
index 7675a3e605fb..5b559a04d142 100644
--- a/app/test/test_mempool.c
+++ b/app/test/test_mempool.c
@@ -628,7 +628,7 @@ test_mempool(void)
 	if (test_mempool_basic_ex(mp_nocache) < 0)
 		GOTO_ERR(ret, err);
 
-	/* mempool operation test based on single producer and single comsumer */
+	/* mempool operation test based on single producer and single consumer */
 	if (test_mempool_sp_sc() < 0)
 		GOTO_ERR(ret, err);
 
diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c
index 8f629736e8fd..87ad25136796 100644
--- a/app/test/test_mempool_perf.c
+++ b/app/test/test_mempool_perf.c
@@ -88,7 +88,7 @@ static uint32_t synchro;
 static unsigned n_get_bulk;
 static unsigned n_put_bulk;
 
-/* number of objects retrived from mempool before putting them back */
+/* number of objects retrieved from mempool before putting them back */
 static unsigned n_keep;
 
 /* number of enqueues / dequeues */
diff --git a/app/test/test_meter.c b/app/test/test_meter.c
index f6fe6494ab63..15d5a4839b4b 100644
--- a/app/test/test_meter.c
+++ b/app/test/test_meter.c
@@ -444,7 +444,7 @@ tm_test_srtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -551,7 +551,7 @@ tm_test_trtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -648,7 +648,7 @@ tm_test_trtcm_rfc4115_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
index 3a248d512c4a..1ef844ba7568 100644
--- a/app/test/test_pmd_perf.c
+++ b/app/test/test_pmd_perf.c
@@ -753,7 +753,7 @@ test_pmd_perf(void)
 				"rte_eth_dev_start: err=%d, port=%d\n",
 				ret, portid);
 
-		/* always eanble promiscuous */
+		/* always enable promiscuous */
 		ret = rte_eth_promiscuous_enable(portid);
 		if (ret != 0)
 			rte_exit(EXIT_FAILURE,
diff --git a/app/test/test_timer.c b/app/test/test_timer.c
index a10b2fe9daf4..631b737d169d 100644
--- a/app/test/test_timer.c
+++ b/app/test/test_timer.c
@@ -432,7 +432,7 @@ timer_basic_cb(struct rte_timer *tim, void *arg)
 		return;
 	}
 
-	/* Explicitelly stop timer 0. Once stop() called, we can even
+	/* Explicitly stop timer 0. Once stop() called, we can even
 	 * erase the content of the structure: it is not referenced
 	 * anymore by any code (in case of dynamic structure, it can
 	 * be freed) */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v2 15/18] vhost: fix typo in comment
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 15/18] vhost: " Stephen Hemminger
@ 2021-09-14  8:20     ` Maxime Coquelin
  0 siblings, 0 replies; 125+ messages in thread
From: Maxime Coquelin @ 2021-09-14  8:20 UTC (permalink / raw)
  To: Stephen Hemminger, dev

Hi Stehpen,

On 9/13/21 6:10 PM, Stephen Hemminger wrote:
> Yet another spelling error found by codespell.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/vhost/rte_vhost.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
> index 8d875e932297..c36dfc705b04 100644
> --- a/lib/vhost/rte_vhost.h
> +++ b/lib/vhost/rte_vhost.h
> @@ -776,7 +776,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
>  /**
>   * Set split inflight descriptor.
>   *
> - * This function save descriptors that has been comsumed in available
> + * This function save descriptors that has been consumed in available

You missed my comment on v1:

s/that has been/that have been/


>   * ring
>   *
>   * @param vid
> @@ -796,7 +796,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
>  /**
>   * Set packed inflight descriptor and get corresponding inflight entry
>   *
> - * This function save descriptors that has been comsumed
> + * This function save descriptors that has been consumed

Same here.

>   *
>   * @param vid
>   *  vhost device ID
> 


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments Stephen Hemminger
@ 2021-10-07 12:20     ` Ananyev, Konstantin
  0 siblings, 0 replies; 125+ messages in thread
From: Ananyev, Konstantin @ 2021-10-07 12:20 UTC (permalink / raw)
  To: Stephen Hemminger, dev


> 
> Found by running codespell on the bpf implementation.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> --
> 2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors Stephen Hemminger
@ 2021-10-07 16:23     ` Ananyev, Konstantin
  0 siblings, 0 replies; 125+ messages in thread
From: Ananyev, Konstantin @ 2021-10-07 16:23 UTC (permalink / raw)
  To: Stephen Hemminger, dev


> 
> Lots of little typos in comments
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/acl/acl.h          | 4 ++--
>  lib/acl/acl_bld.c      | 2 +-
>  lib/acl/acl_run_avx2.h | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/lib/acl/acl.h b/lib/acl/acl.h
> index 4089ab2a0462..f5739a475cf0 100644
> --- a/lib/acl/acl.h
> +++ b/lib/acl/acl.h
> @@ -45,7 +45,7 @@ struct rte_acl_bitset {
>   * Each transition is 64 bit value with the following format:
>   * | node_type_specific : 32 | node_type : 3 | node_addr : 29 |
>   * For all node types except RTE_ACL_NODE_MATCH, node_addr is an index
> - * to the start of the node in the transtions array.
> + * to the start of the node in the transitions array.
>   * Few different node types are used:
>   * RTE_ACL_NODE_MATCH:
>   * node_addr value is and index into an array that contains the return value
> @@ -66,7 +66,7 @@ struct rte_acl_bitset {
>   * RTE_ACL_NODE_SINGLE:
>   * always transitions to the same node regardless of the input value.
>   * RTE_ACL_NODE_DFA:
> - * that node consits of up to 256 transitions.
> + * that node consists of up to 256 transitions.
>   * In attempt to conserve space all transitions are divided into 4 consecutive
>   * groups, by 64 transitions per group:
>   * group64[i] contains transitions[i * 64, .. i * 64 + 63].
> diff --git a/lib/acl/acl_bld.c b/lib/acl/acl_bld.c
> index da10864cd870..f316d3e875ef 100644
> --- a/lib/acl/acl_bld.c
> +++ b/lib/acl/acl_bld.c
> @@ -1494,7 +1494,7 @@ acl_set_data_indexes(struct rte_acl_ctx *ctx)
>  /*
>   * Internal routine, performs 'build' phase of trie generation:
>   * - setups build context.
> - * - analizes given set of rules.
> + * - analyzes given set of rules.
>   * - builds internal tree(s).
>   */
>  static int
> diff --git a/lib/acl/acl_run_avx2.h b/lib/acl/acl_run_avx2.h
> index d06d2e8782d6..0b8967f22e70 100644
> --- a/lib/acl/acl_run_avx2.h
> +++ b/lib/acl/acl_run_avx2.h
> @@ -125,7 +125,7 @@ acl_process_matches_avx2x8(const struct rte_acl_ctx *ctx,
>  	/* For each transition: put low 32 into tr_lo and high 32 into tr_hi */
>  	ACL_TR_HILO(mm256, __m256, t0, t1, lo, hi);
> 
> -	/* Keep transitions wth NOMATCH intact. */
> +	/* Keep transitions with NOMATCH intact. */
>  	*tr_lo = _mm256_blendv_epi8(*tr_lo, lo, matches);
>  	*tr_hi = _mm256_blendv_epi8(*tr_hi, hi, matches);
>  }
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> 2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos Stephen Hemminger
@ 2021-10-07 16:27     ` Ananyev, Konstantin
  0 siblings, 0 replies; 125+ messages in thread
From: Ananyev, Konstantin @ 2021-10-07 16:27 UTC (permalink / raw)
  To: Stephen Hemminger, dev



> Minor typos in comment.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/ip_frag/rte_ipv4_reassembly.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/ip_frag/rte_ipv4_reassembly.c b/lib/ip_frag/rte_ipv4_reassembly.c
> index 69666c8b8271..4a89a5f5365a 100644
> --- a/lib/ip_frag/rte_ipv4_reassembly.c
> +++ b/lib/ip_frag/rte_ipv4_reassembly.c
> @@ -80,7 +80,7 @@ ipv4_frag_reassemble(struct ip_frag_pkt *fp)
> 
>  /*
>   * Process new mbuf with fragment of IPV4 packet.
> - * Incoming mbuf should have it's l2_len/l3_len fields setuped correclty.
> + * Incoming mbuf should have it's l2_len/l3_len fields setup correctly.
>   * @param tbl
>   *   Table where to lookup/add the fragmented packet.
>   * @param mb
> --
> 2.30.2

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors
  2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors Stephen Hemminger
@ 2021-10-07 17:32     ` Ananyev, Konstantin
  0 siblings, 0 replies; 125+ messages in thread
From: Ananyev, Konstantin @ 2021-10-07 17:32 UTC (permalink / raw)
  To: Stephen Hemminger, dev



> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Stephen Hemminger
> Sent: Monday, September 13, 2021 5:10 PM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>
> Subject: [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors
> 
> Lots of typos in comments found by codespell
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/ipsec/esp_inb.c   | 4 ++--
>  lib/ipsec/esp_outb.c  | 2 +-
>  lib/ipsec/ipsec_sad.c | 2 +-
>  lib/ipsec/sa.c        | 2 +-
>  lib/ipsec/sa.h        | 2 +-
>  5 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c
> index 2b1df6a032a8..846fc0ea71a2 100644
> --- a/lib/ipsec/esp_inb.c
> +++ b/lib/ipsec/esp_inb.c
> @@ -415,7 +415,7 @@ trs_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml,
> 
>  /*
>   * packet checks for tunnel mode:
> - * - same as for trasnport mode
> + * - same as for transport mode
>   * - esp tail next proto contains expected for that SA value
>   */
>  static inline int32_t
> @@ -501,7 +501,7 @@ trs_process_step3(struct rte_mbuf *mb)
>  static inline void
>  tun_process_step3(struct rte_mbuf *mb, uint64_t txof_msk, uint64_t txof_val)
>  {
> -	/* reset mbuf metatdata: L2/L3 len, packet type */
> +	/* reset mbuf metadata: L2/L3 len, packet type */
>  	mb->packet_type = RTE_PTYPE_UNKNOWN;
>  	mb->tx_offload = (mb->tx_offload & txof_msk) | txof_val;
> 
> diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c
> index 1e181cf2cee4..0bf3cd6bd4da 100644
> --- a/lib/ipsec/esp_outb.c
> +++ b/lib/ipsec/esp_outb.c
> @@ -525,7 +525,7 @@ cpu_outb_trs_pkt_prepare(const struct rte_ipsec_session *ss,
> 
>  /*
>   * process outbound packets for SA with ESN support,
> - * for algorithms that require SQN.hibits to be implictly included
> + * for algorithms that require SQN.hibits to be implicitly included
>   * into digest computation.
>   * In that case we have to move ICV bytes back to their proper place.
>   */
> diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c
> index 3f9533c80a68..531e1e323cdc 100644
> --- a/lib/ipsec/ipsec_sad.c
> +++ b/lib/ipsec/ipsec_sad.c
> @@ -62,7 +62,7 @@ EAL_REGISTER_TAILQ(rte_ipsec_sad_tailq)
>   * Inserts a rule into an appropriate hash table,
>   * updates the value for a given SPI in SPI_ONLY hash table
>   * reflecting presence of more specific rule type in two LSBs.
> - * Updates a counter that reflects the number of rules whith the same SPI.
> + * Updates a counter that reflects the number of rules with the same SPI.
>   */
>  static inline int
>  add_specific(struct rte_ipsec_sad *sad, const void *key,
> diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c
> index e59189d215b3..f49b3ec15d4f 100644
> --- a/lib/ipsec/sa.c
> +++ b/lib/ipsec/sa.c
> @@ -126,7 +126,7 @@ ipsec_sa_size(uint64_t type, uint32_t *wnd_sz, uint32_t *nb_bucket)
>  		/*
>  		 * RFC 4303 recommends 64 as minimum window size.
>  		 * there is no point to use ESN mode without SQN window,
> -		 * so make sure we have at least 64 window when ESN is enalbed.
> +		 * so make sure we have at least 64 window when ESN is enabled.
>  		 */
>  		wsz = ((type & RTE_IPSEC_SATP_ESN_MASK) ==
>  			RTE_IPSEC_SATP_ESN_DISABLE) ?
> diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h
> index 1bffe751f586..b8ce4e958119 100644
> --- a/lib/ipsec/sa.h
> +++ b/lib/ipsec/sa.h
> @@ -116,7 +116,7 @@ struct rte_ipsec_sa {
>  	 * In case of SA handled by multiple threads *sqn* cacheline
>  	 * could be shared by multiple cores.
>  	 * To minimise performance impact, we try to locate in a separate
> -	 * place from other frequently accesed data.
> +	 * place from other frequently accessed data.
>  	 */
>  	union {
>  		uint64_t outb;
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> 2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 00/18] fix spelling errors
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (19 preceding siblings ...)
  2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
@ 2021-10-14 21:56 ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 01/18] node: fix typos Stephen Hemminger
                     ` (17 more replies)
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
  21 siblings, 18 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

After finding a few typos in BPF, decided to cast a
wider net and fix lots more places.  These are all contained
to typos in strings or comments.

v3 - incorporate feedback on vhost
     fix comment formatting in test portion

v2 - checkpatch wants more than just subject
     remove autocorrect of historical text

Stephen Hemminger (18):
  node: fix typos
  ipsec: fix spelling errors
  eventdev: fix typo in comment
  power: fix typo in comment
  rcu: fix typo in comment
  bpf: fix spelling in comments
  acl: fix spelling errors
  eal: fix typos in comments
  net: fix spelling error in gtp comment
  bbdev: fix typo in comment
  pipeline: fix spellin error in comment
  hash: fix typo in comment
  rib: fix typo in comment
  sched: fix typo in comment
  vhost: fix typo in comment
  ip_frag: fix typos
  test-pmd: fix spelling errors in comments
  test: fix spelling errors in comments

 app/test-pmd/cmdline.c                    |  2 +-
 app/test-pmd/config.c                     |  4 ++--
 app/test-pmd/icmpecho.c                   |  2 +-
 app/test/test_atomic.c                    |  2 +-
 app/test/test_barrier.c                   |  2 +-
 app/test/test_bpf.c                       |  2 +-
 app/test/test_compressdev.c               |  2 +-
 app/test/test_fib.c                       |  2 +-
 app/test/test_fib6.c                      |  2 +-
 app/test/test_func_reentrancy.c           |  6 +++---
 app/test/test_ipsec.c                     |  2 +-
 app/test/test_link_bonding.c              |  2 +-
 app/test/test_lpm.c                       |  6 +++---
 app/test/test_lpm6.c                      | 14 +++++++-------
 app/test/test_malloc.c                    |  4 ++--
 app/test/test_mbuf.c                      |  2 +-
 app/test/test_mempool.c                   |  2 +-
 app/test/test_mempool_perf.c              |  2 +-
 app/test/test_meter.c                     |  6 +++---
 app/test/test_pmd_perf.c                  |  2 +-
 app/test/test_rib.c                       |  2 +-
 app/test/test_rib6.c                      |  2 +-
 app/test/test_timer.c                     |  2 +-
 lib/acl/acl.h                             |  4 ++--
 lib/acl/acl_bld.c                         |  2 +-
 lib/acl/acl_run_avx2.h                    |  2 +-
 lib/bbdev/rte_bbdev.c                     |  2 +-
 lib/bpf/bpf_jit_x86.c                     |  2 +-
 lib/bpf/bpf_load_elf.c                    |  2 +-
 lib/bpf/bpf_pkt.c                         |  2 +-
 lib/bpf/bpf_validate.c                    |  8 ++++----
 lib/eal/include/rte_function_versioning.h |  2 +-
 lib/eal/windows/include/fnmatch.h         |  2 +-
 lib/eventdev/rte_event_timer_adapter.c    |  2 +-
 lib/hash/rte_thash.c                      |  2 +-
 lib/ip_frag/rte_ipv4_reassembly.c         |  2 +-
 lib/ipsec/esp_inb.c                       |  4 ++--
 lib/ipsec/esp_outb.c                      |  2 +-
 lib/ipsec/ipsec_sad.c                     |  2 +-
 lib/ipsec/sa.c                            |  2 +-
 lib/ipsec/sa.h                            |  2 +-
 lib/net/rte_gtp.h                         |  6 +++---
 lib/node/ethdev_rx_priv.h                 |  2 +-
 lib/node/ethdev_tx_priv.h                 |  2 +-
 lib/node/ip4_rewrite_priv.h               |  2 +-
 lib/pipeline/rte_swx_pipeline.h           |  2 +-
 lib/power/power_acpi_cpufreq.c            |  2 +-
 lib/rcu/rte_rcu_qsbr.h                    |  2 +-
 lib/rib/rte_rib6.c                        |  2 +-
 lib/sched/rte_sched.c                     |  2 +-
 lib/vhost/rte_vhost.h                     |  4 ++--
 51 files changed, 73 insertions(+), 73 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 01/18] node: fix typos
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 02/18] ipsec: fix spelling errors Stephen Hemminger
                     ` (16 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Nithin Dabilpuram, Pavan Nikhilesh

Spelling errors in comments including doxygen

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/node/ethdev_rx_priv.h   | 2 +-
 lib/node/ethdev_tx_priv.h   | 2 +-
 lib/node/ip4_rewrite_priv.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/node/ethdev_rx_priv.h b/lib/node/ethdev_rx_priv.h
index 21dcba51fc47..7f24cf962e55 100644
--- a/lib/node/ethdev_rx_priv.h
+++ b/lib/node/ethdev_rx_priv.h
@@ -67,7 +67,7 @@ struct ethdev_rx_node_main *ethdev_rx_get_node_data_get(void);
  *
  * Get the Ethernet Rx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Rx node.
  */
 struct rte_node_register *ethdev_rx_node_get(void);
diff --git a/lib/node/ethdev_tx_priv.h b/lib/node/ethdev_tx_priv.h
index e3a6fdb8afc6..93744df56afb 100644
--- a/lib/node/ethdev_tx_priv.h
+++ b/lib/node/ethdev_tx_priv.h
@@ -46,7 +46,7 @@ struct ethdev_tx_node_main *ethdev_tx_node_data_get(void);
  *
  * Get the Ethernet Tx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Tx node.
  */
 struct rte_node_register *ethdev_tx_node_get(void);
diff --git a/lib/node/ip4_rewrite_priv.h b/lib/node/ip4_rewrite_priv.h
index a1fb8668c543..5105ec1d296f 100644
--- a/lib/node/ip4_rewrite_priv.h
+++ b/lib/node/ip4_rewrite_priv.h
@@ -49,7 +49,7 @@ struct ip4_rewrite_node_main {
  *
  * Get the ipv4 rewrite node.
  *
- * @retrun
+ * @return
  *   Pointer to the ipv4 rewrite node.
  */
 struct rte_node_register *ip4_rewrite_node_get(void);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 02/18] ipsec: fix spelling errors
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 01/18] node: fix typos Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 03/18] eventdev: fix typo in comment Stephen Hemminger
                     ` (15 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev
  Cc: Stephen Hemminger, Konstantin Ananyev, Bernard Iremonger,
	Vladimir Medvedkin

Lots of typos in comments found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 lib/ipsec/esp_inb.c   | 4 ++--
 lib/ipsec/esp_outb.c  | 2 +-
 lib/ipsec/ipsec_sad.c | 2 +-
 lib/ipsec/sa.c        | 2 +-
 lib/ipsec/sa.h        | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c
index 2b1df6a032a8..846fc0ea71a2 100644
--- a/lib/ipsec/esp_inb.c
+++ b/lib/ipsec/esp_inb.c
@@ -415,7 +415,7 @@ trs_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml,
 
 /*
  * packet checks for tunnel mode:
- * - same as for trasnport mode
+ * - same as for transport mode
  * - esp tail next proto contains expected for that SA value
  */
 static inline int32_t
@@ -501,7 +501,7 @@ trs_process_step3(struct rte_mbuf *mb)
 static inline void
 tun_process_step3(struct rte_mbuf *mb, uint64_t txof_msk, uint64_t txof_val)
 {
-	/* reset mbuf metatdata: L2/L3 len, packet type */
+	/* reset mbuf metadata: L2/L3 len, packet type */
 	mb->packet_type = RTE_PTYPE_UNKNOWN;
 	mb->tx_offload = (mb->tx_offload & txof_msk) | txof_val;
 
diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c
index 1e181cf2cee4..0bf3cd6bd4da 100644
--- a/lib/ipsec/esp_outb.c
+++ b/lib/ipsec/esp_outb.c
@@ -525,7 +525,7 @@ cpu_outb_trs_pkt_prepare(const struct rte_ipsec_session *ss,
 
 /*
  * process outbound packets for SA with ESN support,
- * for algorithms that require SQN.hibits to be implictly included
+ * for algorithms that require SQN.hibits to be implicitly included
  * into digest computation.
  * In that case we have to move ICV bytes back to their proper place.
  */
diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c
index 3f9533c80a68..531e1e323cdc 100644
--- a/lib/ipsec/ipsec_sad.c
+++ b/lib/ipsec/ipsec_sad.c
@@ -62,7 +62,7 @@ EAL_REGISTER_TAILQ(rte_ipsec_sad_tailq)
  * Inserts a rule into an appropriate hash table,
  * updates the value for a given SPI in SPI_ONLY hash table
  * reflecting presence of more specific rule type in two LSBs.
- * Updates a counter that reflects the number of rules whith the same SPI.
+ * Updates a counter that reflects the number of rules with the same SPI.
  */
 static inline int
 add_specific(struct rte_ipsec_sad *sad, const void *key,
diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c
index e59189d215b3..f49b3ec15d4f 100644
--- a/lib/ipsec/sa.c
+++ b/lib/ipsec/sa.c
@@ -126,7 +126,7 @@ ipsec_sa_size(uint64_t type, uint32_t *wnd_sz, uint32_t *nb_bucket)
 		/*
 		 * RFC 4303 recommends 64 as minimum window size.
 		 * there is no point to use ESN mode without SQN window,
-		 * so make sure we have at least 64 window when ESN is enalbed.
+		 * so make sure we have at least 64 window when ESN is enabled.
 		 */
 		wsz = ((type & RTE_IPSEC_SATP_ESN_MASK) ==
 			RTE_IPSEC_SATP_ESN_DISABLE) ?
diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h
index 1bffe751f586..b8ce4e958119 100644
--- a/lib/ipsec/sa.h
+++ b/lib/ipsec/sa.h
@@ -116,7 +116,7 @@ struct rte_ipsec_sa {
 	 * In case of SA handled by multiple threads *sqn* cacheline
 	 * could be shared by multiple cores.
 	 * To minimise performance impact, we try to locate in a separate
-	 * place from other frequently accesed data.
+	 * place from other frequently accessed data.
 	 */
 	union {
 		uint64_t outb;
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 03/18] eventdev: fix typo in comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 01/18] node: fix typos Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 02/18] ipsec: fix spelling errors Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 04/18] power: " Stephen Hemminger
                     ` (14 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Erik Gabriel Carrillo, Jerin Jacob

Typo in comment found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eventdev/rte_event_timer_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/eventdev/rte_event_timer_adapter.c b/lib/eventdev/rte_event_timer_adapter.c
index ee20b39f4b24..b5c2dc1427c6 100644
--- a/lib/eventdev/rte_event_timer_adapter.c
+++ b/lib/eventdev/rte_event_timer_adapter.c
@@ -493,7 +493,7 @@ event_buffer_flush(struct event_buffer *bufp, uint8_t dev_id, uint8_t port_id,
 
 	RTE_ASSERT(head_idx < EVENT_BUFFER_SZ && tail_idx < EVENT_BUFFER_SZ);
 
-	/* Determine the largest contigous run we can attempt to enqueue to the
+	/* Determine the largest contiguous run we can attempt to enqueue to the
 	 * event device.
 	 */
 	if (head_idx > tail_idx)
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 04/18] power: fix typo in comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (2 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 03/18] eventdev: fix typo in comment Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 05/18] rcu: " Stephen Hemminger
                     ` (13 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, David Hunt

More spelling errors caught by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/power/power_acpi_cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/power/power_acpi_cpufreq.c b/lib/power/power_acpi_cpufreq.c
index 1e8aeb84037c..402ed8c99b42 100644
--- a/lib/power/power_acpi_cpufreq.c
+++ b/lib/power/power_acpi_cpufreq.c
@@ -159,7 +159,7 @@ power_get_available_freqs(struct acpi_power_info *pi)
 		goto out;
 	}
 
-	/* Store the available frequncies into power context */
+	/* Store the available frequencies into power context */
 	for (i = 0, pi->nb_freqs = 0; i < count; i++) {
 		POWER_DEBUG_TRACE("Lcore %u frequency[%d]: %s\n", pi->lcore_id,
 				i, freqs[i]);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 05/18] rcu: fix typo in comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (3 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 04/18] power: " Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:59     ` Honnappa Nagarahalli
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 06/18] bpf: fix spelling in comments Stephen Hemminger
                     ` (12 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Honnappa Nagarahalli

Another codespell find.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rcu/rte_rcu_qsbr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h
index 18811c1cc106..62a420a785fc 100644
--- a/lib/rcu/rte_rcu_qsbr.h
+++ b/lib/rcu/rte_rcu_qsbr.h
@@ -362,7 +362,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v, unsigned int thread_id)
 
 	/* The reader can go offline only after the load of the
 	 * data structure is completed. i.e. any load of the
-	 * data strcture can not move after this store.
+	 * data structure can not move after this store.
 	 */
 
 	__atomic_store_n(&v->qsbr_cnt[thread_id].cnt,
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 06/18] bpf: fix spelling in comments
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (4 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 05/18] rcu: " Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 07/18] acl: fix spelling errors Stephen Hemminger
                     ` (11 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Konstantin Ananyev

Found by running codespell on the bpf implementation.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 lib/bpf/bpf_jit_x86.c  | 2 +-
 lib/bpf/bpf_load_elf.c | 2 +-
 lib/bpf/bpf_pkt.c      | 2 +-
 lib/bpf/bpf_validate.c | 8 ++++----
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c
index aa22ea78a01d..518513376a67 100644
--- a/lib/bpf/bpf_jit_x86.c
+++ b/lib/bpf/bpf_jit_x86.c
@@ -1245,7 +1245,7 @@ emit_epilog(struct bpf_jit_state *st)
 	uint32_t i;
 	int32_t spil, ofs;
 
-	/* if we allready have an epilog generate a jump to it */
+	/* if we already have an epilog generate a jump to it */
 	if (st->exit.num++ != 0) {
 		emit_abs_jmp(st, st->exit.off);
 		return;
diff --git a/lib/bpf/bpf_load_elf.c b/lib/bpf/bpf_load_elf.c
index 2b11adeb5eb1..02a5d8ba0d07 100644
--- a/lib/bpf/bpf_load_elf.c
+++ b/lib/bpf/bpf_load_elf.c
@@ -80,7 +80,7 @@ resolve_xsym(const char *sn, size_t ofs, struct ebpf_insn *ins, size_t ins_sz,
 	if (type == RTE_BPF_XTYPE_FUNC) {
 
 		/* we don't support multiple functions per BPF module,
-		 * so treat EBPF_PSEUDO_CALL to extrernal function
+		 * so treat EBPF_PSEUDO_CALL to external function
 		 * as an ordinary EBPF_CALL.
 		 */
 		if (ins[idx].src_reg == EBPF_PSEUDO_CALL) {
diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c
index 6e8248f0d6e4..701e8e2c62a9 100644
--- a/lib/bpf/bpf_pkt.c
+++ b/lib/bpf/bpf_pkt.c
@@ -169,7 +169,7 @@ bpf_eth_cbh_add(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue)
 }
 
 /*
- * BPF packet processing routinies.
+ * BPF packet processing routines.
  */
 
 static inline uint32_t
diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c
index 7b1291b382e9..eb8016ef196c 100644
--- a/lib/bpf/bpf_validate.c
+++ b/lib/bpf/bpf_validate.c
@@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = {
 
 /*
  * make sure that instruction syntax is valid,
- * and it fields don't violate partciular instrcution type restrictions.
+ * and its fields don't violate particular instruction type restrictions.
  */
 static const char *
 check_syntax(const struct ebpf_insn *ins)
@@ -1954,7 +1954,7 @@ log_loop(const struct bpf_verifier *bvf)
  * First pass goes though all instructions in the set, checks that each
  * instruction is a valid one (correct syntax, valid field values, etc.)
  * and constructs control flow graph (CFG).
- * Then deapth-first search is performed over the constructed graph.
+ * Then depth-first search is performed over the constructed graph.
  * Programs with unreachable instructions and/or loops will be rejected.
  */
 static int
@@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf)
 
 		/*
 		 * construct CFG, jcc nodes have to outgoing edges,
-		 * 'exit' nodes - none, all others nodes have exaclty one
+		 * 'exit' nodes - none, all other nodes have exactly one
 		 * outgoing edge.
 		 */
 		switch (ins->code) {
@@ -2251,7 +2251,7 @@ evaluate(struct bpf_verifier *bvf)
 			idx = get_node_idx(bvf, node);
 			op = ins[idx].code;
 
-			/* for jcc node make a copy of evaluatoion state */
+			/* for jcc node make a copy of evaluation state */
 			if (node->nb_edge > 1)
 				rc |= save_eval_state(bvf, node);
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 07/18] acl: fix spelling errors
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (5 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 06/18] bpf: fix spelling in comments Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 08/18] eal: fix typos in comments Stephen Hemminger
                     ` (10 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Konstantin Ananyev, Bruce Richardson

Lots of little typos in comments

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 lib/acl/acl.h          | 4 ++--
 lib/acl/acl_bld.c      | 2 +-
 lib/acl/acl_run_avx2.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/acl/acl.h b/lib/acl/acl.h
index 4089ab2a0462..f5739a475cf0 100644
--- a/lib/acl/acl.h
+++ b/lib/acl/acl.h
@@ -45,7 +45,7 @@ struct rte_acl_bitset {
  * Each transition is 64 bit value with the following format:
  * | node_type_specific : 32 | node_type : 3 | node_addr : 29 |
  * For all node types except RTE_ACL_NODE_MATCH, node_addr is an index
- * to the start of the node in the transtions array.
+ * to the start of the node in the transitions array.
  * Few different node types are used:
  * RTE_ACL_NODE_MATCH:
  * node_addr value is and index into an array that contains the return value
@@ -66,7 +66,7 @@ struct rte_acl_bitset {
  * RTE_ACL_NODE_SINGLE:
  * always transitions to the same node regardless of the input value.
  * RTE_ACL_NODE_DFA:
- * that node consits of up to 256 transitions.
+ * that node consists of up to 256 transitions.
  * In attempt to conserve space all transitions are divided into 4 consecutive
  * groups, by 64 transitions per group:
  * group64[i] contains transitions[i * 64, .. i * 64 + 63].
diff --git a/lib/acl/acl_bld.c b/lib/acl/acl_bld.c
index da10864cd870..f316d3e875ef 100644
--- a/lib/acl/acl_bld.c
+++ b/lib/acl/acl_bld.c
@@ -1494,7 +1494,7 @@ acl_set_data_indexes(struct rte_acl_ctx *ctx)
 /*
  * Internal routine, performs 'build' phase of trie generation:
  * - setups build context.
- * - analizes given set of rules.
+ * - analyzes given set of rules.
  * - builds internal tree(s).
  */
 static int
diff --git a/lib/acl/acl_run_avx2.h b/lib/acl/acl_run_avx2.h
index d06d2e8782d6..0b8967f22e70 100644
--- a/lib/acl/acl_run_avx2.h
+++ b/lib/acl/acl_run_avx2.h
@@ -125,7 +125,7 @@ acl_process_matches_avx2x8(const struct rte_acl_ctx *ctx,
 	/* For each transition: put low 32 into tr_lo and high 32 into tr_hi */
 	ACL_TR_HILO(mm256, __m256, t0, t1, lo, hi);
 
-	/* Keep transitions wth NOMATCH intact. */
+	/* Keep transitions with NOMATCH intact. */
 	*tr_lo = _mm256_blendv_epi8(*tr_lo, lo, matches);
 	*tr_hi = _mm256_blendv_epi8(*tr_hi, hi, matches);
 }
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 08/18] eal: fix typos in comments
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (6 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 07/18] acl: fix spelling errors Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-20  9:27     ` Kinsella, Ray
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 09/18] net: fix spelling error in gtp comment Stephen Hemminger
                     ` (9 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev
  Cc: Stephen Hemminger, Ray Kinsella, Dmitry Kozlyuk,
	Narcisa Ana Maria Vasile, Dmitry Malloy, Pallavi Kadam

Minor spelling errors.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eal/include/rte_function_versioning.h | 2 +-
 lib/eal/windows/include/fnmatch.h         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/eal/include/rte_function_versioning.h b/lib/eal/include/rte_function_versioning.h
index 746a1e19923e..eb6dd2bc1727 100644
--- a/lib/eal/include/rte_function_versioning.h
+++ b/lib/eal/include/rte_function_versioning.h
@@ -15,7 +15,7 @@
 
 /*
  * Provides backwards compatibility when updating exported functions.
- * When a symol is exported from a library to provide an API, it also provides a
+ * When a symbol is exported from a library to provide an API, it also provides a
  * calling convention (ABI) that is embodied in its name, return type,
  * arguments, etc.  On occasion that function may need to change to accommodate
  * new functionality, behavior, etc.  When that occurs, it is desirable to
diff --git a/lib/eal/windows/include/fnmatch.h b/lib/eal/windows/include/fnmatch.h
index 142753c3568d..c272f65ccdc3 100644
--- a/lib/eal/windows/include/fnmatch.h
+++ b/lib/eal/windows/include/fnmatch.h
@@ -30,7 +30,7 @@ extern "C" {
  * with the given regular expression pattern.
  *
  * @param pattern
- *	regular expression notation decribing the pattern to match
+ *	regular expression notation describing the pattern to match
  *
  * @param string
  *	source string to searcg for the pattern
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 09/18] net: fix spelling error in gtp comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (7 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 08/18] eal: fix typos in comments Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-15 12:41     ` Olivier Matz
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 10/18] bbdev: fix typo in comment Stephen Hemminger
                     ` (8 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Olivier Matz

More codespell finds.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/net/rte_gtp.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/net/rte_gtp.h b/lib/net/rte_gtp.h
index 9f6deb9c7ef3..dca940c2c5ab 100644
--- a/lib/net/rte_gtp.h
+++ b/lib/net/rte_gtp.h
@@ -142,9 +142,9 @@ struct rte_gtp_psc_type1_hdr {
 /** GTP header length */
 #define RTE_ETHER_GTP_HLEN \
 	(sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))
-/* GTP next protocal type */
-#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocal type IPv4 */
-#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocal type IPv6 */
+/* GTP next protocol type */
+#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocol type IPv4 */
+#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocol type IPv6 */
 /* GTP destination port number */
 #define RTE_GTPC_UDP_PORT 2123 /**< GTP-C UDP destination port */
 #define RTE_GTPU_UDP_PORT 2152 /**< GTP-U UDP destination port */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 10/18] bbdev: fix typo in comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (8 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 09/18] net: fix spelling error in gtp comment Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 11/18] pipeline: fix spellin error " Stephen Hemminger
                     ` (7 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Nicolas Chautru

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/bbdev/rte_bbdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c
index defddcfc2843..6a97dd85e635 100644
--- a/lib/bbdev/rte_bbdev.c
+++ b/lib/bbdev/rte_bbdev.c
@@ -138,7 +138,7 @@ rte_bbdev_data_alloc(void)
 }
 
 /*
- * Find data alocated for the device or if not found return first unused bbdev
+ * Find data allocated for the device or if not found return first unused bbdev
  * data. If all structures are in use and none is used by the device return
  * NULL.
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 11/18] pipeline: fix spellin error in comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (9 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 10/18] bbdev: fix typo in comment Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 22:40     ` Dumitrescu, Cristian
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 12/18] hash: fix typo " Stephen Hemminger
                     ` (6 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Cristian Dumitrescu

Minor typo

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/pipeline/rte_swx_pipeline.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h
index 490ff60c0d02..4b7825956558 100644
--- a/lib/pipeline/rte_swx_pipeline.h
+++ b/lib/pipeline/rte_swx_pipeline.h
@@ -633,7 +633,7 @@ struct rte_swx_pipeline_selector_params {
 	const char *group_id_field_name;
 
 	/** The set of fields used to select (through a hashing scheme) the
-	 * member within the current group. Inputs into the seletion operation.
+	 * member within the current group. Inputs into the selection operation.
 	 * Restriction: All the selector fields must be part of the same struct,
 	 * i.e. part of the same header or part of the meta-data structure.
 	 */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 12/18] hash: fix typo in comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (10 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 11/18] pipeline: fix spellin error " Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 13/18] rib: " Stephen Hemminger
                     ` (5 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev
  Cc: Stephen Hemminger, Yipeng Wang, Sameh Gobriel, Bruce Richardson,
	Vladimir Medvedkin

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/hash/rte_thash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c
index 696a1121e241..9c3ccb25be6d 100644
--- a/lib/hash/rte_thash.c
+++ b/lib/hash/rte_thash.c
@@ -28,7 +28,7 @@ EAL_REGISTER_TAILQ(rte_thash_tailq)
 
 /**
  * Table of some irreducible polinomials over GF(2).
- * For lfsr they are reperesented in BE bit order, and
+ * For lfsr they are represented in BE bit order, and
  * x^0 is masked out.
  * For example, poly x^5 + x^2 + 1 will be represented
  * as (101001b & 11111b) = 01001b = 0x9
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 13/18] rib: fix typo in comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (11 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 12/18] hash: fix typo " Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 14/18] sched: " Stephen Hemminger
                     ` (4 subsequent siblings)
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Vladimir Medvedkin

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rib/rte_rib6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c
index 96424e9c9f4f..4a6f29b0040d 100644
--- a/lib/rib/rte_rib6.c
+++ b/lib/rib/rte_rib6.c
@@ -199,7 +199,7 @@ rte_rib6_lookup_exact(struct rte_rib6 *rib,
 }
 
 /*
- *  Traverses on subtree and retreeves more specific routes
+ *  Traverses on subtree and retrieves more specific routes
  *  for a given in args ip/depth prefix
  *  last = NULL means the first invocation
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 14/18] sched: fix typo in comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (12 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 13/18] rib: " Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 22:40     ` Dumitrescu, Cristian
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 15/18] vhost: " Stephen Hemminger
                     ` (3 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Cristian Dumitrescu, Jasvinder Singh

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/sched/rte_sched.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index a858f61f9548..329f4b2e7b48 100644
--- a/lib/sched/rte_sched.c
+++ b/lib/sched/rte_sched.c
@@ -579,7 +579,7 @@ rte_sched_subport_config_qsize(struct rte_sched_subport *subport)
 
 	subport->qsize_add[0] = 0;
 
-	/* Strict prority traffic class */
+	/* Strict priority traffic class */
 	for (i = 1; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
 		subport->qsize_add[i] = subport->qsize_add[i-1] + subport->qsize[i-1];
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 15/18] vhost: fix typo in comment
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (13 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 14/18] sched: " Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-15  6:41     ` Xia, Chenbo
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 16/18] ip_frag: fix typos Stephen Hemminger
                     ` (2 subsequent siblings)
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Maxime Coquelin, Chenbo Xia

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/vhost/rte_vhost.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
index fd372d52594b..2c4801d9561c 100644
--- a/lib/vhost/rte_vhost.h
+++ b/lib/vhost/rte_vhost.h
@@ -771,7 +771,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
 /**
  * Set split inflight descriptor.
  *
- * This function save descriptors that has been comsumed in available
+ * This function save descriptors that have been consumed in available
  * ring
  *
  * @param vid
@@ -790,7 +790,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
 /**
  * Set packed inflight descriptor and get corresponding inflight entry
  *
- * This function save descriptors that has been comsumed
+ * This function save descriptors that have been consumed
  *
  * @param vid
  *  vhost device ID
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 16/18] ip_frag: fix typos
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (14 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 15/18] vhost: " Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 18/18] test: " Stephen Hemminger
  17 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Konstantin Ananyev

Minor typos in comment.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 lib/ip_frag/rte_ipv4_reassembly.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ip_frag/rte_ipv4_reassembly.c b/lib/ip_frag/rte_ipv4_reassembly.c
index 69666c8b8271..4a89a5f5365a 100644
--- a/lib/ip_frag/rte_ipv4_reassembly.c
+++ b/lib/ip_frag/rte_ipv4_reassembly.c
@@ -80,7 +80,7 @@ ipv4_frag_reassemble(struct ip_frag_pkt *fp)
 
 /*
  * Process new mbuf with fragment of IPV4 packet.
- * Incoming mbuf should have it's l2_len/l3_len fields setuped correclty.
+ * Incoming mbuf should have it's l2_len/l3_len fields setup correctly.
  * @param tbl
  *   Table where to lookup/add the fragmented packet.
  * @param mb
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 17/18] test-pmd: fix spelling errors in comments
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (15 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 16/18] ip_frag: fix typos Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-15  1:49     ` Li, Xiaoyun
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 18/18] test: " Stephen Hemminger
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Xiaoyun Li

More typos

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test-pmd/cmdline.c  | 2 +-
 app/test-pmd/config.c   | 4 ++--
 app/test-pmd/icmpecho.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 826256b0b346..50af096c6a6e 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -3654,7 +3654,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items,
 		return nb_item;
 
 	/*
-	 * Then, check that all values in the list are differents.
+	 * Then, check that all values in the list are different.
 	 * No optimization here...
 	 */
 	for (i = 0; i < nb_item; i++) {
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 9c66329e96ee..27907c3204a9 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -2777,7 +2777,7 @@ port_rss_reta_info(portid_t port_id,
 }
 
 /*
- * Displays the RSS hash functions of a port, and, optionaly, the RSS hash
+ * Displays the RSS hash functions of a port, and, optionally, the RSS hash
  * key of the port.
  */
 void
@@ -4950,7 +4950,7 @@ mcast_addr_pool_remove(struct rte_port *port, uint32_t addr_idx)
 {
 	port->mc_addr_nb--;
 	if (addr_idx == port->mc_addr_nb) {
-		/* No need to recompact the set of multicast addressses. */
+		/* No need to recompact the set of multicast addresses. */
 		if (port->mc_addr_nb == 0) {
 			/* free the pool of multicast addresses. */
 			free(port->mc_addr_pool);
diff --git a/app/test-pmd/icmpecho.c b/app/test-pmd/icmpecho.c
index 8f1d68a83afd..d6620f5f6a47 100644
--- a/app/test-pmd/icmpecho.c
+++ b/app/test-pmd/icmpecho.c
@@ -54,7 +54,7 @@ arp_op_name(uint16_t arp_op)
 	default:
 		break;
 	}
-	return "Unkwown ARP op";
+	return "Unknown ARP op";
 }
 
 static const char *
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [dpdk-dev] [PATCH v3 18/18] test: fix spelling errors in comments
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
                     ` (16 preceding siblings ...)
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
@ 2021-10-14 21:56   ` Stephen Hemminger
  2021-10-15 12:44     ` Olivier Matz
  17 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-10-14 21:56 UTC (permalink / raw)
  To: dev
  Cc: Stephen Hemminger, Konstantin Ananyev, Fiona Trahe, Ashish Gupta,
	Vladimir Medvedkin, Bruce Richardson, Olivier Matz,
	Andrew Rybchenko, Anatoly Burakov, Honnappa Nagarahalli,
	Yipeng Wang, Sameh Gobriel, Bernard Iremonger, Chas Williams,
	Min Hu (Connor),
	Cristian Dumitrescu, Robert Sanford, Erik Gabriel Carrillo

Lots of little typos in test programs.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test/test_atomic.c          |  2 +-
 app/test/test_barrier.c         |  2 +-
 app/test/test_bpf.c             |  2 +-
 app/test/test_compressdev.c     |  2 +-
 app/test/test_fib.c             |  2 +-
 app/test/test_fib6.c            |  2 +-
 app/test/test_func_reentrancy.c |  6 +++---
 app/test/test_ipsec.c           |  2 +-
 app/test/test_link_bonding.c    |  2 +-
 app/test/test_lpm.c             |  6 +++---
 app/test/test_lpm6.c            | 14 +++++++-------
 app/test/test_malloc.c          |  4 ++--
 app/test/test_mbuf.c            |  2 +-
 app/test/test_mempool.c         |  2 +-
 app/test/test_mempool_perf.c    |  2 +-
 app/test/test_meter.c           |  6 +++---
 app/test/test_pmd_perf.c        |  2 +-
 app/test/test_rib.c             |  2 +-
 app/test/test_rib6.c            |  2 +-
 app/test/test_timer.c           |  2 +-
 20 files changed, 33 insertions(+), 33 deletions(-)

diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c
index ce0c259bd785..e4b997827ea8 100644
--- a/app/test/test_atomic.c
+++ b/app/test/test_atomic.c
@@ -88,7 +88,7 @@
  *
  *   - Invoke ``test_atomic_exchange`` on each lcore.  Before doing
  *     anything else, the cores wait for a synchronization event.
- *     Each core then does the follwoing for N iterations:
+ *     Each core then does the following for N iterations:
  *
  *       Generate a new token with a data integrity check
  *       Exchange the new token for previously generated token
diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c
index c27f8a0742f2..8fa93c00329a 100644
--- a/app/test/test_barrier.c
+++ b/app/test/test_barrier.c
@@ -66,7 +66,7 @@ struct plock_test {
 struct lcore_plock_test {
 	struct plock_test *pt[2]; /* shared, lock-protected data */
 	uint64_t sum[2];          /* local copy of the shared data */
-	uint64_t iter;            /* number of iterations to perfom */
+	uint64_t iter;            /* number of iterations to perform */
 	uint32_t lc;              /* given lcore id */
 };
 
diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index 8118a1849ba0..2089432bb766 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -2391,7 +2391,7 @@ static const struct ebpf_insn test_call5_prog[] = {
 	},
 };
 
-/* String comparision impelementation, return 0 if equal else difference */
+/* String comparison implementation, return 0 if equal else difference */
 static uint32_t
 dummy_func5(const char *s1, const char *s2)
 {
diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c
index a1b9f062501f..c63b5b6737a4 100644
--- a/app/test/test_compressdev.c
+++ b/app/test/test_compressdev.c
@@ -2033,7 +2033,7 @@ test_deflate_comp_decomp(const struct interim_data_params *int_data,
 	test_priv_data.all_decomp_data = &all_decomp_data;
 	test_priv_data.decomp_produced_data_size = &decomp_produced_data_size;
 
-	test_priv_data.num_priv_xforms = 0; /* it's used for deompression only */
+	test_priv_data.num_priv_xforms = 0; /* it's used for decompression only */
 
 	capa = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE);
 	if (capa == NULL) {
diff --git a/app/test/test_fib.c b/app/test/test_fib.c
index e46b9934fe70..d856b617a77f 100644
--- a/app/test/test_fib.c
+++ b/app/test/test_fib.c
@@ -159,7 +159,7 @@ test_add_del_invalid(void)
 	RTE_TEST_ASSERT(ret < 0,
 		"Call succeeded with invalid parameters\n");
 
-	/*Create valid fib to use in rest of test. */
+	/* Create valid fib to use in rest of test. */
 	fib = rte_fib_create(__func__, SOCKET_ID_ANY, &config);
 	RTE_TEST_ASSERT(fib != NULL, "Failed to create FIB\n");
 
diff --git a/app/test/test_fib6.c b/app/test/test_fib6.c
index 74abfc7a5d3f..691d89e1ef54 100644
--- a/app/test/test_fib6.c
+++ b/app/test/test_fib6.c
@@ -162,7 +162,7 @@ test_add_del_invalid(void)
 	RTE_TEST_ASSERT(ret < 0,
 		"Call succeeded with invalid parameters\n");
 
-	/*Create valid fib to use in rest of test. */
+	/* Create valid fib to use in rest of test. */
 	fib = rte_fib6_create(__func__, SOCKET_ID_ANY, &config);
 	RTE_TEST_ASSERT(fib != NULL, "Failed to create FIB\n");
 
diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c
index 838ab6f0f90b..36e83bc5872b 100644
--- a/app/test/test_func_reentrancy.c
+++ b/app/test/test_func_reentrancy.c
@@ -253,7 +253,7 @@ hash_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple times simultaneously */
+	/* create multiple times simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_self, i);
 		hash_params.name = hash_name;
@@ -321,7 +321,7 @@ fbk_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_self, i);
 		fbk_params.name = fbk_name;
@@ -387,7 +387,7 @@ lpm_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_LPM_ITER_TIMES; i++) {
 		snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_self, i);
 		lpm = rte_lpm_create(lpm_name, SOCKET_ID_ANY, &config);
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index c6d6b88d6d9e..923bf9864412 100644
--- a/app/test/test_ipsec.c
+++ b/app/test/test_ipsec.c
@@ -653,7 +653,7 @@ create_crypto_session(struct ipsec_unitest_params *ut,
 	if (s == NULL)
 		return -ENOMEM;
 
-	/* initiliaze SA crypto session for device */
+	/* initialize SA crypto session for device */
 	rc = rte_cryptodev_sym_session_init(dev_id, s,
 			ut->crypto_xforms, qp->mp_session_private);
 	if (rc == 0) {
diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c
index 8a5c8310a8b4..fd246725096c 100644
--- a/app/test/test_link_bonding.c
+++ b/app/test/test_link_bonding.c
@@ -3041,7 +3041,7 @@ test_balance_tx_burst_slave_tx_fail(void)
 	first_tx_fail_idx = TEST_BAL_SLAVE_TX_FAIL_BURST_SIZE_1 -
 			TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT;
 
-	/* copy mbuf referneces for expected transmission failures */
+	/* copy mbuf references for expected transmission failures */
 	for (i = 0; i < TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT; i++)
 		expected_fail_pkts[i] = pkts_burst_1[i + first_tx_fail_idx];
 
diff --git a/app/test/test_lpm.c b/app/test/test_lpm.c
index 556f5a67baf1..331ec87d97b9 100644
--- a/app/test/test_lpm.c
+++ b/app/test/test_lpm.c
@@ -179,7 +179,7 @@ test3(void)
 	status = rte_lpm_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/* Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -217,7 +217,7 @@ test4(void)
 	status = rte_lpm_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/* Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -255,7 +255,7 @@ test5(void)
 	status = rte_lpm_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/* Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c
index 0d664546fa47..61e225ad6e88 100644
--- a/app/test/test_lpm6.c
+++ b/app/test/test_lpm6.c
@@ -261,7 +261,7 @@ test4(void)
 	status = rte_lpm6_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/* Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -299,7 +299,7 @@ test5(void)
 	status = rte_lpm6_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/* Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -337,7 +337,7 @@ test6(void)
 	status = rte_lpm6_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/* Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -375,7 +375,7 @@ test7(void)
 	status = rte_lpm6_lookup_bulk_func(NULL, ip, next_hop_return, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/* Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -413,7 +413,7 @@ test8(void)
 	status = rte_lpm6_delete_bulk_func(NULL, ip, depth, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/* Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -433,7 +433,7 @@ test8(void)
 /*
  * Call add, lookup and delete for a single rule with depth < 24.
  * Check all the combinations for the first three bytes that result in a hit.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test9(void)
@@ -1738,7 +1738,7 @@ test27(void)
  * Call add, lookup and delete for a single rule with maximum 21bit next_hop
  * size.
  * Check that next_hop returned from lookup is equal to provisioned value.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test28(void)
diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c
index afff0de9f05a..6d9249f831be 100644
--- a/app/test/test_malloc.c
+++ b/app/test/test_malloc.c
@@ -603,7 +603,7 @@ test_realloc_numa(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2)
 		printf("WARNING: realloc_socket test needs memory on multiple sockets!\n");
 
@@ -971,7 +971,7 @@ test_alloc_socket(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2) {
 		printf("WARNING: alloc_socket test needs memory on multiple sockets!\n");
 	}
diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
index 9a248dfaea70..167c0938b633 100644
--- a/app/test/test_mbuf.c
+++ b/app/test/test_mbuf.c
@@ -1148,7 +1148,7 @@ test_refcnt_mbuf(void)
 
 	rte_eal_mp_wait_lcore();
 
-	/* check that we porcessed all references */
+	/* check that we processed all references */
 	tref = 0;
 	main_lcore = rte_get_main_lcore();
 
diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c
index 7675a3e605fb..5b559a04d142 100644
--- a/app/test/test_mempool.c
+++ b/app/test/test_mempool.c
@@ -628,7 +628,7 @@ test_mempool(void)
 	if (test_mempool_basic_ex(mp_nocache) < 0)
 		GOTO_ERR(ret, err);
 
-	/* mempool operation test based on single producer and single comsumer */
+	/* mempool operation test based on single producer and single consumer */
 	if (test_mempool_sp_sc() < 0)
 		GOTO_ERR(ret, err);
 
diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c
index 8f629736e8fd..87ad25136796 100644
--- a/app/test/test_mempool_perf.c
+++ b/app/test/test_mempool_perf.c
@@ -88,7 +88,7 @@ static uint32_t synchro;
 static unsigned n_get_bulk;
 static unsigned n_put_bulk;
 
-/* number of objects retrived from mempool before putting them back */
+/* number of objects retrieved from mempool before putting them back */
 static unsigned n_keep;
 
 /* number of enqueues / dequeues */
diff --git a/app/test/test_meter.c b/app/test/test_meter.c
index f6fe6494ab63..15d5a4839b4b 100644
--- a/app/test/test_meter.c
+++ b/app/test/test_meter.c
@@ -444,7 +444,7 @@ tm_test_srtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -551,7 +551,7 @@ tm_test_trtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -648,7 +648,7 @@ tm_test_trtcm_rfc4115_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
index 3a248d512c4a..1ef844ba7568 100644
--- a/app/test/test_pmd_perf.c
+++ b/app/test/test_pmd_perf.c
@@ -753,7 +753,7 @@ test_pmd_perf(void)
 				"rte_eth_dev_start: err=%d, port=%d\n",
 				ret, portid);
 
-		/* always eanble promiscuous */
+		/* always enable promiscuous */
 		ret = rte_eth_promiscuous_enable(portid);
 		if (ret != 0)
 			rte_exit(EXIT_FAILURE,
diff --git a/app/test/test_rib.c b/app/test/test_rib.c
index 3dc48fe1f2eb..20fad70377fc 100644
--- a/app/test/test_rib.c
+++ b/app/test/test_rib.c
@@ -129,7 +129,7 @@ test_insert_invalid(void)
 	RTE_TEST_ASSERT(node == NULL,
 		"Call succeeded with invalid parameters\n");
 
-	/*Create valid rib to use in rest of test. */
+	/* Create valid rib to use in rest of test. */
 	rib = rte_rib_create(__func__, SOCKET_ID_ANY, &config);
 	RTE_TEST_ASSERT(rib != NULL, "Failed to create RIB\n");
 
diff --git a/app/test/test_rib6.c b/app/test/test_rib6.c
index c77df11298e4..e946609b0477 100644
--- a/app/test/test_rib6.c
+++ b/app/test/test_rib6.c
@@ -130,7 +130,7 @@ test_insert_invalid(void)
 	RTE_TEST_ASSERT(node == NULL,
 		"Call succeeded with invalid parameters\n");
 
-	/*Create valid rib to use in rest of test. */
+	/* Create valid rib to use in rest of test. */
 	rib = rte_rib6_create(__func__, SOCKET_ID_ANY, &config);
 	RTE_TEST_ASSERT(rib != NULL, "Failed to create RIB\n");
 
diff --git a/app/test/test_timer.c b/app/test/test_timer.c
index a10b2fe9daf4..631b737d169d 100644
--- a/app/test/test_timer.c
+++ b/app/test/test_timer.c
@@ -432,7 +432,7 @@ timer_basic_cb(struct rte_timer *tim, void *arg)
 		return;
 	}
 
-	/* Explicitelly stop timer 0. Once stop() called, we can even
+	/* Explicitly stop timer 0. Once stop() called, we can even
 	 * erase the content of the structure: it is not referenced
 	 * anymore by any code (in case of dynamic structure, it can
 	 * be freed) */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v3 05/18] rcu: fix typo in comment
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 05/18] rcu: " Stephen Hemminger
@ 2021-10-14 21:59     ` Honnappa Nagarahalli
  0 siblings, 0 replies; 125+ messages in thread
From: Honnappa Nagarahalli @ 2021-10-14 21:59 UTC (permalink / raw)
  To: Stephen Hemminger, dev; +Cc: nd, nd

<snip>

> 
> Another codespell find.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>

> ---
>  lib/rcu/rte_rcu_qsbr.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h index
> 18811c1cc106..62a420a785fc 100644
> --- a/lib/rcu/rte_rcu_qsbr.h
> +++ b/lib/rcu/rte_rcu_qsbr.h
> @@ -362,7 +362,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v,
> unsigned int thread_id)
> 
>  	/* The reader can go offline only after the load of the
>  	 * data structure is completed. i.e. any load of the
> -	 * data strcture can not move after this store.
> +	 * data structure can not move after this store.
>  	 */
> 
>  	__atomic_store_n(&v->qsbr_cnt[thread_id].cnt,
> --
> 2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v3 11/18] pipeline: fix spellin error in comment
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 11/18] pipeline: fix spellin error " Stephen Hemminger
@ 2021-10-14 22:40     ` Dumitrescu, Cristian
  0 siblings, 0 replies; 125+ messages in thread
From: Dumitrescu, Cristian @ 2021-10-14 22:40 UTC (permalink / raw)
  To: Stephen Hemminger, dev



> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Thursday, October 14, 2021 10:56 PM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Dumitrescu,
> Cristian <cristian.dumitrescu@intel.com>
> Subject: [PATCH v3 11/18] pipeline: fix spellin error in comment
> 
> Minor typo
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/pipeline/rte_swx_pipeline.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h
> index 490ff60c0d02..4b7825956558 100644
> --- a/lib/pipeline/rte_swx_pipeline.h
> +++ b/lib/pipeline/rte_swx_pipeline.h
> @@ -633,7 +633,7 @@ struct rte_swx_pipeline_selector_params {
>  	const char *group_id_field_name;
> 
>  	/** The set of fields used to select (through a hashing scheme) the
> -	 * member within the current group. Inputs into the seletion
> operation.
> +	 * member within the current group. Inputs into the selection
> operation.
>  	 * Restriction: All the selector fields must be part of the same struct,
>  	 * i.e. part of the same header or part of the meta-data structure.
>  	 */
> --
> 2.30.2

Thanks, Stephen.

Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v3 14/18] sched: fix typo in comment
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 14/18] sched: " Stephen Hemminger
@ 2021-10-14 22:40     ` Dumitrescu, Cristian
  0 siblings, 0 replies; 125+ messages in thread
From: Dumitrescu, Cristian @ 2021-10-14 22:40 UTC (permalink / raw)
  To: Stephen Hemminger, dev; +Cc: Singh, Jasvinder



> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Thursday, October 14, 2021 10:56 PM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Dumitrescu,
> Cristian <cristian.dumitrescu@intel.com>; Singh, Jasvinder
> <jasvinder.singh@intel.com>
> Subject: [PATCH v3 14/18] sched: fix typo in comment
> 
> Yet another spelling error found by codespell.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/sched/rte_sched.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
> index a858f61f9548..329f4b2e7b48 100644
> --- a/lib/sched/rte_sched.c
> +++ b/lib/sched/rte_sched.c
> @@ -579,7 +579,7 @@ rte_sched_subport_config_qsize(struct
> rte_sched_subport *subport)
> 
>  	subport->qsize_add[0] = 0;
> 
> -	/* Strict prority traffic class */
> +	/* Strict priority traffic class */
>  	for (i = 1; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
>  		subport->qsize_add[i] = subport->qsize_add[i-1] + subport-
> >qsize[i-1];
> 
> --
> 2.30.2

Thanks, Stephen.

Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v3 17/18] test-pmd: fix spelling errors in comments
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
@ 2021-10-15  1:49     ` Li, Xiaoyun
  0 siblings, 0 replies; 125+ messages in thread
From: Li, Xiaoyun @ 2021-10-15  1:49 UTC (permalink / raw)
  To: Stephen Hemminger, dev

> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Friday, October 15, 2021 05:57
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Li, Xiaoyun
> <xiaoyun.li@intel.com>
> Subject: [PATCH v3 17/18] test-pmd: fix spelling errors in comments

app/test-pmd: fix spelling errors in comments

Except the title,
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>

> 
> More typos
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  app/test-pmd/cmdline.c  | 2 +-
>  app/test-pmd/config.c   | 4 ++--
>  app/test-pmd/icmpecho.c | 2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index
> 826256b0b346..50af096c6a6e 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -3654,7 +3654,7 @@ parse_item_list(const char *str, const char
> *item_name, unsigned int max_items,
>  		return nb_item;
> 
>  	/*
> -	 * Then, check that all values in the list are differents.
> +	 * Then, check that all values in the list are different.
>  	 * No optimization here...
>  	 */
>  	for (i = 0; i < nb_item; i++) {
> diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index
> 9c66329e96ee..27907c3204a9 100644
> --- a/app/test-pmd/config.c
> +++ b/app/test-pmd/config.c
> @@ -2777,7 +2777,7 @@ port_rss_reta_info(portid_t port_id,  }
> 
>  /*
> - * Displays the RSS hash functions of a port, and, optionaly, the RSS hash
> + * Displays the RSS hash functions of a port, and, optionally, the RSS
> + hash
>   * key of the port.
>   */
>  void
> @@ -4950,7 +4950,7 @@ mcast_addr_pool_remove(struct rte_port *port,
> uint32_t addr_idx)  {
>  	port->mc_addr_nb--;
>  	if (addr_idx == port->mc_addr_nb) {
> -		/* No need to recompact the set of multicast addressses. */
> +		/* No need to recompact the set of multicast addresses. */
>  		if (port->mc_addr_nb == 0) {
>  			/* free the pool of multicast addresses. */
>  			free(port->mc_addr_pool);
> diff --git a/app/test-pmd/icmpecho.c b/app/test-pmd/icmpecho.c index
> 8f1d68a83afd..d6620f5f6a47 100644
> --- a/app/test-pmd/icmpecho.c
> +++ b/app/test-pmd/icmpecho.c
> @@ -54,7 +54,7 @@ arp_op_name(uint16_t arp_op)
>  	default:
>  		break;
>  	}
> -	return "Unkwown ARP op";
> +	return "Unknown ARP op";
>  }
> 
>  static const char *
> --
> 2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v3 15/18] vhost: fix typo in comment
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 15/18] vhost: " Stephen Hemminger
@ 2021-10-15  6:41     ` Xia, Chenbo
  0 siblings, 0 replies; 125+ messages in thread
From: Xia, Chenbo @ 2021-10-15  6:41 UTC (permalink / raw)
  To: Stephen Hemminger, dev; +Cc: Maxime Coquelin

> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Friday, October 15, 2021 5:56 AM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Maxime Coquelin
> <maxime.coquelin@redhat.com>; Xia, Chenbo <chenbo.xia@intel.com>
> Subject: [PATCH v3 15/18] vhost: fix typo in comment
> 
> Yet another spelling error found by codespell.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/vhost/rte_vhost.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
> index fd372d52594b..2c4801d9561c 100644
> --- a/lib/vhost/rte_vhost.h
> +++ b/lib/vhost/rte_vhost.h
> @@ -771,7 +771,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t
> vring_idx,
>  /**
>   * Set split inflight descriptor.
>   *
> - * This function save descriptors that has been comsumed in available
> + * This function save descriptors that have been consumed in available
>   * ring
>   *
>   * @param vid
> @@ -790,7 +790,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t
> vring_idx,
>  /**
>   * Set packed inflight descriptor and get corresponding inflight entry
>   *
> - * This function save descriptors that has been comsumed
> + * This function save descriptors that have been consumed
>   *
>   * @param vid
>   *  vhost device ID
> --
> 2.30.2

Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>

Thanks!

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v3 09/18] net: fix spelling error in gtp comment
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 09/18] net: fix spelling error in gtp comment Stephen Hemminger
@ 2021-10-15 12:41     ` Olivier Matz
  0 siblings, 0 replies; 125+ messages in thread
From: Olivier Matz @ 2021-10-15 12:41 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev

On Thu, Oct 14, 2021 at 02:56:22PM -0700, Stephen Hemminger wrote:
> More codespell finds.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Acked-by: Olivier Matz <olivier.matz@6wind.com>

Thanks!

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v3 18/18] test: fix spelling errors in comments
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 18/18] test: " Stephen Hemminger
@ 2021-10-15 12:44     ` Olivier Matz
  0 siblings, 0 replies; 125+ messages in thread
From: Olivier Matz @ 2021-10-15 12:44 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: dev, Konstantin Ananyev, Fiona Trahe, Ashish Gupta,
	Vladimir Medvedkin, Bruce Richardson, Andrew Rybchenko,
	Anatoly Burakov, Honnappa Nagarahalli, Yipeng Wang,
	Sameh Gobriel, Bernard Iremonger, Chas Williams, Min Hu (Connor),
	Cristian Dumitrescu, Robert Sanford, Erik Gabriel Carrillo

On Thu, Oct 14, 2021 at 02:56:31PM -0700, Stephen Hemminger wrote:
> Lots of little typos in test programs.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Reviewed-by: Olivier Matz <olivier.matz@6wind.com>

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [dpdk-dev] [PATCH v3 08/18] eal: fix typos in comments
  2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 08/18] eal: fix typos in comments Stephen Hemminger
@ 2021-10-20  9:27     ` Kinsella, Ray
  0 siblings, 0 replies; 125+ messages in thread
From: Kinsella, Ray @ 2021-10-20  9:27 UTC (permalink / raw)
  To: Stephen Hemminger, dev
  Cc: Dmitry Kozlyuk, Narcisa Ana Maria Vasile, Dmitry Malloy, Pallavi Kadam



On 14/10/2021 22:56, Stephen Hemminger wrote:
> Minor spelling errors.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Acked-by: Ray Kinsella <mdr@ashroe.eu>

^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 00/18] fix docbook and spelling errors
  2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
                   ` (20 preceding siblings ...)
  2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
@ 2021-11-12  0:02 ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 01/18] node: fix docbook typos Stephen Hemminger
                     ` (20 more replies)
  21 siblings, 21 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

After finding a few typos in BPF, decided to cast a
wider net and fix lots more places.  These are all contained
to typos in strings or comments.

v4 - rebase and resend

^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 01/18] node: fix docbook typos
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 02/18] ipsec: fix spelling errors Stephen Hemminger
                     ` (19 subsequent siblings)
  20 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Nithin Dabilpuram, Pavan Nikhilesh

Spelling errors in comments including doxygen

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/node/ethdev_rx_priv.h   | 2 +-
 lib/node/ethdev_tx_priv.h   | 2 +-
 lib/node/ip4_rewrite_priv.h | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/node/ethdev_rx_priv.h b/lib/node/ethdev_rx_priv.h
index 21dcba51fc47..7f24cf962e55 100644
--- a/lib/node/ethdev_rx_priv.h
+++ b/lib/node/ethdev_rx_priv.h
@@ -67,7 +67,7 @@ struct ethdev_rx_node_main *ethdev_rx_get_node_data_get(void);
  *
  * Get the Ethernet Rx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Rx node.
  */
 struct rte_node_register *ethdev_rx_node_get(void);
diff --git a/lib/node/ethdev_tx_priv.h b/lib/node/ethdev_tx_priv.h
index e3a6fdb8afc6..93744df56afb 100644
--- a/lib/node/ethdev_tx_priv.h
+++ b/lib/node/ethdev_tx_priv.h
@@ -46,7 +46,7 @@ struct ethdev_tx_node_main *ethdev_tx_node_data_get(void);
  *
  * Get the Ethernet Tx node.
  *
- * @retrun
+ * @return
  *   Pointer to the Ethernet Tx node.
  */
 struct rte_node_register *ethdev_tx_node_get(void);
diff --git a/lib/node/ip4_rewrite_priv.h b/lib/node/ip4_rewrite_priv.h
index a1fb8668c543..5105ec1d296f 100644
--- a/lib/node/ip4_rewrite_priv.h
+++ b/lib/node/ip4_rewrite_priv.h
@@ -49,7 +49,7 @@ struct ip4_rewrite_node_main {
  *
  * Get the ipv4 rewrite node.
  *
- * @retrun
+ * @return
  *   Pointer to the ipv4 rewrite node.
  */
 struct rte_node_register *ip4_rewrite_node_get(void);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 02/18] ipsec: fix spelling errors
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 01/18] node: fix docbook typos Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12 14:21     ` Medvedkin, Vladimir
  2021-11-12  0:02   ` [PATCH v4 03/18] eventdev: fix typo in comment Stephen Hemminger
                     ` (18 subsequent siblings)
  20 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev
  Cc: Stephen Hemminger, Konstantin Ananyev, Bernard Iremonger,
	Vladimir Medvedkin

Lots of typos in comments found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 lib/ipsec/esp_inb.c   | 4 ++--
 lib/ipsec/esp_outb.c  | 2 +-
 lib/ipsec/ipsec_sad.c | 2 +-
 lib/ipsec/sa.c        | 2 +-
 lib/ipsec/sa.h        | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c
index 99e9c43f2f68..636c850fa6a9 100644
--- a/lib/ipsec/esp_inb.c
+++ b/lib/ipsec/esp_inb.c
@@ -475,7 +475,7 @@ trs_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml,
 
 /*
  * packet checks for tunnel mode:
- * - same as for trasnport mode
+ * - same as for transport mode
  * - esp tail next proto contains expected for that SA value
  */
 static inline int32_t
@@ -561,7 +561,7 @@ trs_process_step3(struct rte_mbuf *mb)
 static inline void
 tun_process_step3(struct rte_mbuf *mb, uint64_t txof_msk, uint64_t txof_val)
 {
-	/* reset mbuf metatdata: L2/L3 len, packet type */
+	/* reset mbuf metadata: L2/L3 len, packet type */
 	mb->packet_type = RTE_PTYPE_UNKNOWN;
 	mb->tx_offload = (mb->tx_offload & txof_msk) | txof_val;
 
diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c
index b7a70fd00186..672e56aba084 100644
--- a/lib/ipsec/esp_outb.c
+++ b/lib/ipsec/esp_outb.c
@@ -614,7 +614,7 @@ cpu_outb_trs_pkt_prepare(const struct rte_ipsec_session *ss,
 
 /*
  * process outbound packets for SA with ESN support,
- * for algorithms that require SQN.hibits to be implictly included
+ * for algorithms that require SQN.hibits to be implicitly included
  * into digest computation.
  * In that case we have to move ICV bytes back to their proper place.
  */
diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c
index 3f9533c80a68..531e1e323cdc 100644
--- a/lib/ipsec/ipsec_sad.c
+++ b/lib/ipsec/ipsec_sad.c
@@ -62,7 +62,7 @@ EAL_REGISTER_TAILQ(rte_ipsec_sad_tailq)
  * Inserts a rule into an appropriate hash table,
  * updates the value for a given SPI in SPI_ONLY hash table
  * reflecting presence of more specific rule type in two LSBs.
- * Updates a counter that reflects the number of rules whith the same SPI.
+ * Updates a counter that reflects the number of rules with the same SPI.
  */
 static inline int
 add_specific(struct rte_ipsec_sad *sad, const void *key,
diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c
index a19819f9f179..1e51482c9242 100644
--- a/lib/ipsec/sa.c
+++ b/lib/ipsec/sa.c
@@ -136,7 +136,7 @@ ipsec_sa_size(uint64_t type, uint32_t *wnd_sz, uint32_t *nb_bucket)
 		/*
 		 * RFC 4303 recommends 64 as minimum window size.
 		 * there is no point to use ESN mode without SQN window,
-		 * so make sure we have at least 64 window when ESN is enalbed.
+		 * so make sure we have at least 64 window when ESN is enabled.
 		 */
 		wsz = ((type & RTE_IPSEC_SATP_ESN_MASK) ==
 			RTE_IPSEC_SATP_ESN_DISABLE) ?
diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h
index 6e59f18e1602..7503587b5004 100644
--- a/lib/ipsec/sa.h
+++ b/lib/ipsec/sa.h
@@ -122,7 +122,7 @@ struct rte_ipsec_sa {
 	 * In case of SA handled by multiple threads *sqn* cacheline
 	 * could be shared by multiple cores.
 	 * To minimise performance impact, we try to locate in a separate
-	 * place from other frequently accesed data.
+	 * place from other frequently accessed data.
 	 */
 	union {
 		uint64_t outb;
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 03/18] eventdev: fix typo in comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 01/18] node: fix docbook typos Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 02/18] ipsec: fix spelling errors Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 04/18] power: " Stephen Hemminger
                     ` (17 subsequent siblings)
  20 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Erik Gabriel Carrillo, Jerin Jacob

Typo in comment found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eventdev/rte_event_timer_adapter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/eventdev/rte_event_timer_adapter.c b/lib/eventdev/rte_event_timer_adapter.c
index e5572e2add6d..9dad170b5a72 100644
--- a/lib/eventdev/rte_event_timer_adapter.c
+++ b/lib/eventdev/rte_event_timer_adapter.c
@@ -525,7 +525,7 @@ event_buffer_flush(struct event_buffer *bufp, uint8_t dev_id, uint8_t port_id,
 
 	RTE_ASSERT(head_idx < EVENT_BUFFER_SZ && tail_idx < EVENT_BUFFER_SZ);
 
-	/* Determine the largest contigous run we can attempt to enqueue to the
+	/* Determine the largest contiguous run we can attempt to enqueue to the
 	 * event device.
 	 */
 	if (head_idx > tail_idx)
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 04/18] power: fix typo in comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (2 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 03/18] eventdev: fix typo in comment Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 05/18] rcu: " Stephen Hemminger
                     ` (16 subsequent siblings)
  20 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, David Hunt

More spelling errors caught by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/power/power_acpi_cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/power/power_acpi_cpufreq.c b/lib/power/power_acpi_cpufreq.c
index 1e8aeb84037c..402ed8c99b42 100644
--- a/lib/power/power_acpi_cpufreq.c
+++ b/lib/power/power_acpi_cpufreq.c
@@ -159,7 +159,7 @@ power_get_available_freqs(struct acpi_power_info *pi)
 		goto out;
 	}
 
-	/* Store the available frequncies into power context */
+	/* Store the available frequencies into power context */
 	for (i = 0, pi->nb_freqs = 0; i < count; i++) {
 		POWER_DEBUG_TRACE("Lcore %u frequency[%d]: %s\n", pi->lcore_id,
 				i, freqs[i]);
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 05/18] rcu: fix typo in comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (3 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 04/18] power: " Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:50     ` Honnappa Nagarahalli
  2021-11-12  0:02   ` [PATCH v4 06/18] bpf: fix spelling in comments Stephen Hemminger
                     ` (15 subsequent siblings)
  20 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Honnappa Nagarahalli

Another codespell find.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rcu/rte_rcu_qsbr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h
index 18811c1cc106..62a420a785fc 100644
--- a/lib/rcu/rte_rcu_qsbr.h
+++ b/lib/rcu/rte_rcu_qsbr.h
@@ -362,7 +362,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v, unsigned int thread_id)
 
 	/* The reader can go offline only after the load of the
 	 * data structure is completed. i.e. any load of the
-	 * data strcture can not move after this store.
+	 * data structure can not move after this store.
 	 */
 
 	__atomic_store_n(&v->qsbr_cnt[thread_id].cnt,
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 06/18] bpf: fix spelling in comments
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (4 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 05/18] rcu: " Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 07/18] acl: fix spelling errors Stephen Hemminger
                     ` (14 subsequent siblings)
  20 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Konstantin Ananyev

Found by running codespell on the bpf implementation.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 lib/bpf/bpf_jit_x86.c  | 2 +-
 lib/bpf/bpf_load_elf.c | 2 +-
 lib/bpf/bpf_pkt.c      | 2 +-
 lib/bpf/bpf_validate.c | 8 ++++----
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c
index aa22ea78a01d..518513376a67 100644
--- a/lib/bpf/bpf_jit_x86.c
+++ b/lib/bpf/bpf_jit_x86.c
@@ -1245,7 +1245,7 @@ emit_epilog(struct bpf_jit_state *st)
 	uint32_t i;
 	int32_t spil, ofs;
 
-	/* if we allready have an epilog generate a jump to it */
+	/* if we already have an epilog generate a jump to it */
 	if (st->exit.num++ != 0) {
 		emit_abs_jmp(st, st->exit.off);
 		return;
diff --git a/lib/bpf/bpf_load_elf.c b/lib/bpf/bpf_load_elf.c
index 2b11adeb5eb1..02a5d8ba0d07 100644
--- a/lib/bpf/bpf_load_elf.c
+++ b/lib/bpf/bpf_load_elf.c
@@ -80,7 +80,7 @@ resolve_xsym(const char *sn, size_t ofs, struct ebpf_insn *ins, size_t ins_sz,
 	if (type == RTE_BPF_XTYPE_FUNC) {
 
 		/* we don't support multiple functions per BPF module,
-		 * so treat EBPF_PSEUDO_CALL to extrernal function
+		 * so treat EBPF_PSEUDO_CALL to external function
 		 * as an ordinary EBPF_CALL.
 		 */
 		if (ins[idx].src_reg == EBPF_PSEUDO_CALL) {
diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c
index 08eebd99b371..af422afc072a 100644
--- a/lib/bpf/bpf_pkt.c
+++ b/lib/bpf/bpf_pkt.c
@@ -166,7 +166,7 @@ bpf_eth_cbh_add(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue)
 }
 
 /*
- * BPF packet processing routinies.
+ * BPF packet processing routines.
  */
 
 static inline uint32_t
diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c
index 853279fee557..09331258ebf6 100644
--- a/lib/bpf/bpf_validate.c
+++ b/lib/bpf/bpf_validate.c
@@ -1730,7 +1730,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = {
 
 /*
  * make sure that instruction syntax is valid,
- * and it fields don't violate partciular instrcution type restrictions.
+ * and its fields don't violate particular instruction type restrictions.
  */
 static const char *
 check_syntax(const struct ebpf_insn *ins)
@@ -1961,7 +1961,7 @@ log_loop(const struct bpf_verifier *bvf)
  * First pass goes though all instructions in the set, checks that each
  * instruction is a valid one (correct syntax, valid field values, etc.)
  * and constructs control flow graph (CFG).
- * Then deapth-first search is performed over the constructed graph.
+ * Then depth-first search is performed over the constructed graph.
  * Programs with unreachable instructions and/or loops will be rejected.
  */
 static int
@@ -1988,7 +1988,7 @@ validate(struct bpf_verifier *bvf)
 
 		/*
 		 * construct CFG, jcc nodes have to outgoing edges,
-		 * 'exit' nodes - none, all others nodes have exaclty one
+		 * 'exit' nodes - none, all other nodes have exactly one
 		 * outgoing edge.
 		 */
 		switch (ins->code) {
@@ -2258,7 +2258,7 @@ evaluate(struct bpf_verifier *bvf)
 			idx = get_node_idx(bvf, node);
 			op = ins[idx].code;
 
-			/* for jcc node make a copy of evaluatoion state */
+			/* for jcc node make a copy of evaluation state */
 			if (node->nb_edge > 1)
 				rc |= save_eval_state(bvf, node);
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 07/18] acl: fix spelling errors
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (5 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 06/18] bpf: fix spelling in comments Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 08/18] eal: fix typos in comments Stephen Hemminger
                     ` (13 subsequent siblings)
  20 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Konstantin Ananyev, Bruce Richardson

Lots of little typos in comments

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 lib/acl/acl.h          | 4 ++--
 lib/acl/acl_bld.c      | 2 +-
 lib/acl/acl_run_avx2.h | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/acl/acl.h b/lib/acl/acl.h
index 4089ab2a0462..f5739a475cf0 100644
--- a/lib/acl/acl.h
+++ b/lib/acl/acl.h
@@ -45,7 +45,7 @@ struct rte_acl_bitset {
  * Each transition is 64 bit value with the following format:
  * | node_type_specific : 32 | node_type : 3 | node_addr : 29 |
  * For all node types except RTE_ACL_NODE_MATCH, node_addr is an index
- * to the start of the node in the transtions array.
+ * to the start of the node in the transitions array.
  * Few different node types are used:
  * RTE_ACL_NODE_MATCH:
  * node_addr value is and index into an array that contains the return value
@@ -66,7 +66,7 @@ struct rte_acl_bitset {
  * RTE_ACL_NODE_SINGLE:
  * always transitions to the same node regardless of the input value.
  * RTE_ACL_NODE_DFA:
- * that node consits of up to 256 transitions.
+ * that node consists of up to 256 transitions.
  * In attempt to conserve space all transitions are divided into 4 consecutive
  * groups, by 64 transitions per group:
  * group64[i] contains transitions[i * 64, .. i * 64 + 63].
diff --git a/lib/acl/acl_bld.c b/lib/acl/acl_bld.c
index da10864cd870..f316d3e875ef 100644
--- a/lib/acl/acl_bld.c
+++ b/lib/acl/acl_bld.c
@@ -1494,7 +1494,7 @@ acl_set_data_indexes(struct rte_acl_ctx *ctx)
 /*
  * Internal routine, performs 'build' phase of trie generation:
  * - setups build context.
- * - analizes given set of rules.
+ * - analyzes given set of rules.
  * - builds internal tree(s).
  */
 static int
diff --git a/lib/acl/acl_run_avx2.h b/lib/acl/acl_run_avx2.h
index d06d2e8782d6..0b8967f22e70 100644
--- a/lib/acl/acl_run_avx2.h
+++ b/lib/acl/acl_run_avx2.h
@@ -125,7 +125,7 @@ acl_process_matches_avx2x8(const struct rte_acl_ctx *ctx,
 	/* For each transition: put low 32 into tr_lo and high 32 into tr_hi */
 	ACL_TR_HILO(mm256, __m256, t0, t1, lo, hi);
 
-	/* Keep transitions wth NOMATCH intact. */
+	/* Keep transitions with NOMATCH intact. */
 	*tr_lo = _mm256_blendv_epi8(*tr_lo, lo, matches);
 	*tr_hi = _mm256_blendv_epi8(*tr_hi, hi, matches);
 }
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 08/18] eal: fix typos in comments
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (6 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 07/18] acl: fix spelling errors Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12 15:22     ` Kinsella, Ray
  2021-11-12  0:02   ` [PATCH v4 09/18] net: fix spelling error in gtp comment Stephen Hemminger
                     ` (12 subsequent siblings)
  20 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev
  Cc: Stephen Hemminger, Ray Kinsella, Dmitry Kozlyuk,
	Narcisa Ana Maria Vasile, Dmitry Malloy, Pallavi Kadam

Minor spelling errors.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/eal/include/rte_function_versioning.h | 2 +-
 lib/eal/windows/include/fnmatch.h         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/eal/include/rte_function_versioning.h b/lib/eal/include/rte_function_versioning.h
index 746a1e19923e..eb6dd2bc1727 100644
--- a/lib/eal/include/rte_function_versioning.h
+++ b/lib/eal/include/rte_function_versioning.h
@@ -15,7 +15,7 @@
 
 /*
  * Provides backwards compatibility when updating exported functions.
- * When a symol is exported from a library to provide an API, it also provides a
+ * When a symbol is exported from a library to provide an API, it also provides a
  * calling convention (ABI) that is embodied in its name, return type,
  * arguments, etc.  On occasion that function may need to change to accommodate
  * new functionality, behavior, etc.  When that occurs, it is desirable to
diff --git a/lib/eal/windows/include/fnmatch.h b/lib/eal/windows/include/fnmatch.h
index 142753c3568d..c272f65ccdc3 100644
--- a/lib/eal/windows/include/fnmatch.h
+++ b/lib/eal/windows/include/fnmatch.h
@@ -30,7 +30,7 @@ extern "C" {
  * with the given regular expression pattern.
  *
  * @param pattern
- *	regular expression notation decribing the pattern to match
+ *	regular expression notation describing the pattern to match
  *
  * @param string
  *	source string to searcg for the pattern
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 09/18] net: fix spelling error in gtp comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (7 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 08/18] eal: fix typos in comments Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 10/18] bbdev: fix typo in comment Stephen Hemminger
                     ` (11 subsequent siblings)
  20 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Olivier Matz

More codespell finds.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/net/rte_gtp.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/net/rte_gtp.h b/lib/net/rte_gtp.h
index 9f6deb9c7ef3..dca940c2c5ab 100644
--- a/lib/net/rte_gtp.h
+++ b/lib/net/rte_gtp.h
@@ -142,9 +142,9 @@ struct rte_gtp_psc_type1_hdr {
 /** GTP header length */
 #define RTE_ETHER_GTP_HLEN \
 	(sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr))
-/* GTP next protocal type */
-#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocal type IPv4 */
-#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocal type IPv6 */
+/* GTP next protocol type */
+#define RTE_GTP_TYPE_IPV4 0x40 /**< GTP next protocol type IPv4 */
+#define RTE_GTP_TYPE_IPV6 0x60 /**< GTP next protocol type IPv6 */
 /* GTP destination port number */
 #define RTE_GTPC_UDP_PORT 2123 /**< GTP-C UDP destination port */
 #define RTE_GTPU_UDP_PORT 2152 /**< GTP-U UDP destination port */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 10/18] bbdev: fix typo in comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (8 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 09/18] net: fix spelling error in gtp comment Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 11/18] pipeline: fix spellin error " Stephen Hemminger
                     ` (10 subsequent siblings)
  20 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Nicolas Chautru

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/bbdev/rte_bbdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c
index b86c5fdcc0cb..7f353d4f7e7d 100644
--- a/lib/bbdev/rte_bbdev.c
+++ b/lib/bbdev/rte_bbdev.c
@@ -138,7 +138,7 @@ rte_bbdev_data_alloc(void)
 }
 
 /*
- * Find data alocated for the device or if not found return first unused bbdev
+ * Find data allocated for the device or if not found return first unused bbdev
  * data. If all structures are in use and none is used by the device return
  * NULL.
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 11/18] pipeline: fix spellin error in comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (9 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 10/18] bbdev: fix typo in comment Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12 11:19     ` Dumitrescu, Cristian
  2021-11-12  0:02   ` [PATCH v4 12/18] hash: fix typo " Stephen Hemminger
                     ` (9 subsequent siblings)
  20 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Cristian Dumitrescu

Minor typo

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/pipeline/rte_swx_pipeline.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h
index 9c3d08199ce8..77141bd3415b 100644
--- a/lib/pipeline/rte_swx_pipeline.h
+++ b/lib/pipeline/rte_swx_pipeline.h
@@ -647,7 +647,7 @@ struct rte_swx_pipeline_selector_params {
 	const char *group_id_field_name;
 
 	/** The set of fields used to select (through a hashing scheme) the
-	 * member within the current group. Inputs into the seletion operation.
+	 * member within the current group. Inputs into the selection operation.
 	 * Restriction: All the selector fields must be part of the same struct,
 	 * i.e. part of the same header or part of the meta-data structure.
 	 */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 12/18] hash: fix typo in comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (10 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 11/18] pipeline: fix spellin error " Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12 14:22     ` Medvedkin, Vladimir
  2021-11-12  0:02   ` [PATCH v4 13/18] rib: " Stephen Hemminger
                     ` (8 subsequent siblings)
  20 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev
  Cc: Stephen Hemminger, Yipeng Wang, Sameh Gobriel, Bruce Richardson,
	Vladimir Medvedkin

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/hash/rte_thash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c
index 394e1328c531..6847e36f4b10 100644
--- a/lib/hash/rte_thash.c
+++ b/lib/hash/rte_thash.c
@@ -28,7 +28,7 @@ EAL_REGISTER_TAILQ(rte_thash_tailq)
 
 /**
  * Table of some irreducible polinomials over GF(2).
- * For lfsr they are reperesented in BE bit order, and
+ * For lfsr they are represented in BE bit order, and
  * x^0 is masked out.
  * For example, poly x^5 + x^2 + 1 will be represented
  * as (101001b & 11111b) = 01001b = 0x9
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 13/18] rib: fix typo in comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (11 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 12/18] hash: fix typo " Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12 14:23     ` Medvedkin, Vladimir
  2021-11-12  0:02   ` [PATCH v4 14/18] sched: " Stephen Hemminger
                     ` (7 subsequent siblings)
  20 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Vladimir Medvedkin

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/rib/rte_rib6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c
index b00c7fbf5ab0..70405113b419 100644
--- a/lib/rib/rte_rib6.c
+++ b/lib/rib/rte_rib6.c
@@ -199,7 +199,7 @@ rte_rib6_lookup_exact(struct rte_rib6 *rib,
 }
 
 /*
- *  Traverses on subtree and retreeves more specific routes
+ *  Traverses on subtree and retrieves more specific routes
  *  for a given in args ip/depth prefix
  *  last = NULL means the first invocation
  */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 14/18] sched: fix typo in comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (12 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 13/18] rib: " Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12 11:19     ` Dumitrescu, Cristian
  2021-11-12  0:02   ` [PATCH v4 15/18] vhost: " Stephen Hemminger
                     ` (6 subsequent siblings)
  20 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Cristian Dumitrescu, Jasvinder Singh

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/sched/rte_sched.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 2fe32bbd33d5..ed44808f7b38 100644
--- a/lib/sched/rte_sched.c
+++ b/lib/sched/rte_sched.c
@@ -590,7 +590,7 @@ rte_sched_subport_config_qsize(struct rte_sched_subport *subport)
 
 	subport->qsize_add[0] = 0;
 
-	/* Strict prority traffic class */
+	/* Strict priority traffic class */
 	for (i = 1; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
 		subport->qsize_add[i] = subport->qsize_add[i-1] + subport->qsize[i-1];
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 15/18] vhost: fix typo in comment
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (13 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 14/18] sched: " Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-15  1:40     ` Xia, Chenbo
  2021-11-12  0:02   ` [PATCH v4 16/18] ip_frag: fix typos Stephen Hemminger
                     ` (5 subsequent siblings)
  20 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Maxime Coquelin, Chenbo Xia

Yet another spelling error found by codespell.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/vhost/rte_vhost.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
index af0afbcf60e0..b454c05868e1 100644
--- a/lib/vhost/rte_vhost.h
+++ b/lib/vhost/rte_vhost.h
@@ -796,7 +796,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t vring_idx,
 /**
  * Set split inflight descriptor.
  *
- * This function save descriptors that has been comsumed in available
+ * This function save descriptors that has been consumed in available
  * ring
  *
  * @param vid
@@ -815,7 +815,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t vring_idx,
 /**
  * Set packed inflight descriptor and get corresponding inflight entry
  *
- * This function save descriptors that has been comsumed
+ * This function save descriptors that has been consumed
  *
  * @param vid
  *  vhost device ID
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 16/18] ip_frag: fix typos
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (14 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 15/18] vhost: " Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
                     ` (4 subsequent siblings)
  20 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Konstantin Ananyev

Minor typos in comment.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
---
 lib/ip_frag/rte_ipv4_reassembly.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ip_frag/rte_ipv4_reassembly.c b/lib/ip_frag/rte_ipv4_reassembly.c
index 69666c8b8271..4a89a5f5365a 100644
--- a/lib/ip_frag/rte_ipv4_reassembly.c
+++ b/lib/ip_frag/rte_ipv4_reassembly.c
@@ -80,7 +80,7 @@ ipv4_frag_reassemble(struct ip_frag_pkt *fp)
 
 /*
  * Process new mbuf with fragment of IPV4 packet.
- * Incoming mbuf should have it's l2_len/l3_len fields setuped correclty.
+ * Incoming mbuf should have it's l2_len/l3_len fields setup correctly.
  * @param tbl
  *   Table where to lookup/add the fragmented packet.
  * @param mb
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 17/18] test-pmd: fix spelling errors in comments
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (15 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 16/18] ip_frag: fix typos Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12  0:02   ` [PATCH v4 18/18] test: " Stephen Hemminger
                     ` (3 subsequent siblings)
  20 siblings, 0 replies; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Xiaoyun Li

More typos

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test-pmd/cmdline.c  | 2 +-
 app/test-pmd/config.c   | 4 ++--
 app/test-pmd/icmpecho.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 4f51b259fed1..fb5433fd5b2b 100644
--- a/app/test-pmd/cmdline.c
+++ b/app/test-pmd/cmdline.c
@@ -3653,7 +3653,7 @@ parse_item_list(const char *str, const char *item_name, unsigned int max_items,
 		return nb_item;
 
 	/*
-	 * Then, check that all values in the list are differents.
+	 * Then, check that all values in the list are different.
 	 * No optimization here...
 	 */
 	for (i = 0; i < nb_item; i++) {
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 26cadf39f7a9..26318b4f14b3 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -2965,7 +2965,7 @@ port_rss_reta_info(portid_t port_id,
 }
 
 /*
- * Displays the RSS hash functions of a port, and, optionaly, the RSS hash
+ * Displays the RSS hash functions of a port, and, optionally, the RSS hash
  * key of the port.
  */
 void
@@ -5250,7 +5250,7 @@ mcast_addr_pool_remove(struct rte_port *port, uint32_t addr_idx)
 {
 	port->mc_addr_nb--;
 	if (addr_idx == port->mc_addr_nb) {
-		/* No need to recompact the set of multicast addressses. */
+		/* No need to recompact the set of multicast addresses. */
 		if (port->mc_addr_nb == 0) {
 			/* free the pool of multicast addresses. */
 			free(port->mc_addr_pool);
diff --git a/app/test-pmd/icmpecho.c b/app/test-pmd/icmpecho.c
index 8f1d68a83afd..d6620f5f6a47 100644
--- a/app/test-pmd/icmpecho.c
+++ b/app/test-pmd/icmpecho.c
@@ -54,7 +54,7 @@ arp_op_name(uint16_t arp_op)
 	default:
 		break;
 	}
-	return "Unkwown ARP op";
+	return "Unknown ARP op";
 }
 
 static const char *
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH v4 18/18] test: fix spelling errors in comments
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (16 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
@ 2021-11-12  0:02   ` Stephen Hemminger
  2021-11-12 11:19     ` Dumitrescu, Cristian
  2021-11-12 11:35   ` [PATCH v4 00/18] fix docbook and spelling errors Ferruh Yigit
                     ` (2 subsequent siblings)
  20 siblings, 1 reply; 125+ messages in thread
From: Stephen Hemminger @ 2021-11-12  0:02 UTC (permalink / raw)
  To: dev
  Cc: Stephen Hemminger, Konstantin Ananyev, Fiona Trahe, Ashish Gupta,
	Yipeng Wang, Sameh Gobriel, Bruce Richardson, Vladimir Medvedkin,
	Olivier Matz, Andrew Rybchenko, Anatoly Burakov,
	Honnappa Nagarahalli, Bernard Iremonger, Chas Williams,
	Min Hu (Connor),
	Cristian Dumitrescu, Robert Sanford, Erik Gabriel Carrillo

Lots of little typos.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test/test_atomic.c          |  2 +-
 app/test/test_barrier.c         |  2 +-
 app/test/test_bpf.c             |  2 +-
 app/test/test_compressdev.c     |  2 +-
 app/test/test_func_reentrancy.c |  6 +++---
 app/test/test_ipsec.c           |  2 +-
 app/test/test_link_bonding.c    |  2 +-
 app/test/test_lpm.c             |  6 +++---
 app/test/test_lpm6.c            | 14 +++++++-------
 app/test/test_malloc.c          |  4 ++--
 app/test/test_mbuf.c            |  2 +-
 app/test/test_mempool.c         |  2 +-
 app/test/test_mempool_perf.c    |  2 +-
 app/test/test_meter.c           |  6 +++---
 app/test/test_pmd_perf.c        |  2 +-
 app/test/test_timer.c           |  2 +-
 16 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c
index ce0c259bd785..e4b997827ea8 100644
--- a/app/test/test_atomic.c
+++ b/app/test/test_atomic.c
@@ -88,7 +88,7 @@
  *
  *   - Invoke ``test_atomic_exchange`` on each lcore.  Before doing
  *     anything else, the cores wait for a synchronization event.
- *     Each core then does the follwoing for N iterations:
+ *     Each core then does the following for N iterations:
  *
  *       Generate a new token with a data integrity check
  *       Exchange the new token for previously generated token
diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c
index c27f8a0742f2..8fa93c00329a 100644
--- a/app/test/test_barrier.c
+++ b/app/test/test_barrier.c
@@ -66,7 +66,7 @@ struct plock_test {
 struct lcore_plock_test {
 	struct plock_test *pt[2]; /* shared, lock-protected data */
 	uint64_t sum[2];          /* local copy of the shared data */
-	uint64_t iter;            /* number of iterations to perfom */
+	uint64_t iter;            /* number of iterations to perform */
 	uint32_t lc;              /* given lcore id */
 };
 
diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
index e3e9a1b0b59f..d9d7b71fd69b 100644
--- a/app/test/test_bpf.c
+++ b/app/test/test_bpf.c
@@ -2407,7 +2407,7 @@ static const struct ebpf_insn test_call5_prog[] = {
 	},
 };
 
-/* String comparision impelementation, return 0 if equal else difference */
+/* String comparison implementation, return 0 if equal else difference */
 static uint32_t
 dummy_func5(const char *s1, const char *s2)
 {
diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c
index a1b9f062501f..c63b5b6737a4 100644
--- a/app/test/test_compressdev.c
+++ b/app/test/test_compressdev.c
@@ -2033,7 +2033,7 @@ test_deflate_comp_decomp(const struct interim_data_params *int_data,
 	test_priv_data.all_decomp_data = &all_decomp_data;
 	test_priv_data.decomp_produced_data_size = &decomp_produced_data_size;
 
-	test_priv_data.num_priv_xforms = 0; /* it's used for deompression only */
+	test_priv_data.num_priv_xforms = 0; /* it's used for decompression only */
 
 	capa = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE);
 	if (capa == NULL) {
diff --git a/app/test/test_func_reentrancy.c b/app/test/test_func_reentrancy.c
index 838ab6f0f90b..36e83bc5872b 100644
--- a/app/test/test_func_reentrancy.c
+++ b/app/test/test_func_reentrancy.c
@@ -253,7 +253,7 @@ hash_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple times simultaneously */
+	/* create multiple times simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_self, i);
 		hash_params.name = hash_name;
@@ -321,7 +321,7 @@ fbk_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_ITER_MULTI; i++) {
 		snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_self, i);
 		fbk_params.name = fbk_name;
@@ -387,7 +387,7 @@ lpm_create_free(__rte_unused void *arg)
 			rte_atomic32_inc(&obj_count);
 	}
 
-	/* create mutiple fbk tables simultaneously */
+	/* create multiple fbk tables simultaneously */
 	for (i = 0; i < MAX_LPM_ITER_TIMES; i++) {
 		snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_self, i);
 		lpm = rte_lpm_create(lpm_name, SOCKET_ID_ANY, &config);
diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
index 1bec63b0e872..bc2a3dbc2e0a 100644
--- a/app/test/test_ipsec.c
+++ b/app/test/test_ipsec.c
@@ -653,7 +653,7 @@ create_crypto_session(struct ipsec_unitest_params *ut,
 	if (s == NULL)
 		return -ENOMEM;
 
-	/* initiliaze SA crypto session for device */
+	/* initialize SA crypto session for device */
 	rc = rte_cryptodev_sym_session_init(dev_id, s,
 			ut->crypto_xforms, qp->mp_session_private);
 	if (rc == 0) {
diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c
index 8a9ef851789f..dc6fc46b9c93 100644
--- a/app/test/test_link_bonding.c
+++ b/app/test/test_link_bonding.c
@@ -3040,7 +3040,7 @@ test_balance_tx_burst_slave_tx_fail(void)
 	first_tx_fail_idx = TEST_BAL_SLAVE_TX_FAIL_BURST_SIZE_1 -
 			TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT;
 
-	/* copy mbuf referneces for expected transmission failures */
+	/* copy mbuf references for expected transmission failures */
 	for (i = 0; i < TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT; i++)
 		expected_fail_pkts[i] = pkts_burst_1[i + first_tx_fail_idx];
 
diff --git a/app/test/test_lpm.c b/app/test/test_lpm.c
index 556f5a67baf1..37b460af3a96 100644
--- a/app/test/test_lpm.c
+++ b/app/test/test_lpm.c
@@ -179,7 +179,7 @@ test3(void)
 	status = rte_lpm_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -217,7 +217,7 @@ test4(void)
 	status = rte_lpm_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -255,7 +255,7 @@ test5(void)
 	status = rte_lpm_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c
index 0d664546fa47..17221f992aee 100644
--- a/app/test/test_lpm6.c
+++ b/app/test/test_lpm6.c
@@ -261,7 +261,7 @@ test4(void)
 	status = rte_lpm6_add(NULL, ip, depth, next_hop);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -299,7 +299,7 @@ test5(void)
 	status = rte_lpm6_delete(NULL, ip, depth);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -337,7 +337,7 @@ test6(void)
 	status = rte_lpm6_lookup(NULL, ip, &next_hop_return);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -375,7 +375,7 @@ test7(void)
 	status = rte_lpm6_lookup_bulk_func(NULL, ip, next_hop_return, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -413,7 +413,7 @@ test8(void)
 	status = rte_lpm6_delete_bulk_func(NULL, ip, depth, 10);
 	TEST_LPM_ASSERT(status < 0);
 
-	/*Create vaild lpm to use in rest of test. */
+	/*Create valid lpm to use in rest of test. */
 	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
 	TEST_LPM_ASSERT(lpm != NULL);
 
@@ -433,7 +433,7 @@ test8(void)
 /*
  * Call add, lookup and delete for a single rule with depth < 24.
  * Check all the combinations for the first three bytes that result in a hit.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test9(void)
@@ -1738,7 +1738,7 @@ test27(void)
  * Call add, lookup and delete for a single rule with maximum 21bit next_hop
  * size.
  * Check that next_hop returned from lookup is equal to provisioned value.
- * Delete the rule and check that the same test returs a miss.
+ * Delete the rule and check that the same test returns a miss.
  */
 int32_t
 test28(void)
diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c
index afff0de9f05a..6d9249f831be 100644
--- a/app/test/test_malloc.c
+++ b/app/test/test_malloc.c
@@ -603,7 +603,7 @@ test_realloc_numa(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2)
 		printf("WARNING: realloc_socket test needs memory on multiple sockets!\n");
 
@@ -971,7 +971,7 @@ test_alloc_socket(void)
 		}
 	}
 
-	/* Print warnign if only a single socket, but don't fail the test */
+	/* Print warning if only a single socket, but don't fail the test */
 	if (socket_count < 2) {
 		printf("WARNING: alloc_socket test needs memory on multiple sockets!\n");
 	}
diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
index f93bcef8a9bb..75f345394665 100644
--- a/app/test/test_mbuf.c
+++ b/app/test/test_mbuf.c
@@ -1148,7 +1148,7 @@ test_refcnt_mbuf(void)
 
 	rte_eal_mp_wait_lcore();
 
-	/* check that we porcessed all references */
+	/* check that we processed all references */
 	tref = 0;
 	main_lcore = rte_get_main_lcore();
 
diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c
index a451608558f8..f6c650d11f35 100644
--- a/app/test/test_mempool.c
+++ b/app/test/test_mempool.c
@@ -994,7 +994,7 @@ test_mempool(void)
 	if (test_mempool_basic_ex(mp_nocache) < 0)
 		GOTO_ERR(ret, err);
 
-	/* mempool operation test based on single producer and single comsumer */
+	/* mempool operation test based on single producer and single consumer */
 	if (test_mempool_sp_sc() < 0)
 		GOTO_ERR(ret, err);
 
diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c
index 8f629736e8fd..87ad25136796 100644
--- a/app/test/test_mempool_perf.c
+++ b/app/test/test_mempool_perf.c
@@ -88,7 +88,7 @@ static uint32_t synchro;
 static unsigned n_get_bulk;
 static unsigned n_put_bulk;
 
-/* number of objects retrived from mempool before putting them back */
+/* number of objects retrieved from mempool before putting them back */
 static unsigned n_keep;
 
 /* number of enqueues / dequeues */
diff --git a/app/test/test_meter.c b/app/test/test_meter.c
index f6fe6494ab63..15d5a4839b4b 100644
--- a/app/test/test_meter.c
+++ b/app/test/test_meter.c
@@ -444,7 +444,7 @@ tm_test_srtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -551,7 +551,7 @@ tm_test_trtcm_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
@@ -648,7 +648,7 @@ tm_test_trtcm_rfc4115_color_aware_check(void)
 	  * if using blind check
 	  */
 
-	/* previouly have a green, test points should keep unchanged */
+	/* previously have a green, test points should keep unchanged */
 	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
 	out[0] = RTE_COLOR_GREEN;
 	out[1] = RTE_COLOR_YELLOW;
diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
index 1df86ce080e5..aac6c97cebd3 100644
--- a/app/test/test_pmd_perf.c
+++ b/app/test/test_pmd_perf.c
@@ -752,7 +752,7 @@ test_pmd_perf(void)
 				"rte_eth_dev_start: err=%d, port=%d\n",
 				ret, portid);
 
-		/* always eanble promiscuous */
+		/* always enable promiscuous */
 		ret = rte_eth_promiscuous_enable(portid);
 		if (ret != 0)
 			rte_exit(EXIT_FAILURE,
diff --git a/app/test/test_timer.c b/app/test/test_timer.c
index a10b2fe9daf4..631b737d169d 100644
--- a/app/test/test_timer.c
+++ b/app/test/test_timer.c
@@ -432,7 +432,7 @@ timer_basic_cb(struct rte_timer *tim, void *arg)
 		return;
 	}
 
-	/* Explicitelly stop timer 0. Once stop() called, we can even
+	/* Explicitly stop timer 0. Once stop() called, we can even
 	 * erase the content of the structure: it is not referenced
 	 * anymore by any code (in case of dynamic structure, it can
 	 * be freed) */
-- 
2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* RE: [PATCH v4 05/18] rcu: fix typo in comment
  2021-11-12  0:02   ` [PATCH v4 05/18] rcu: " Stephen Hemminger
@ 2021-11-12  0:50     ` Honnappa Nagarahalli
  0 siblings, 0 replies; 125+ messages in thread
From: Honnappa Nagarahalli @ 2021-11-12  0:50 UTC (permalink / raw)
  To: Stephen Hemminger, dev; +Cc: nd, nd

<snip>

> 
> Another codespell find.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Thanks Stephen
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>

> ---
>  lib/rcu/rte_rcu_qsbr.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/rcu/rte_rcu_qsbr.h b/lib/rcu/rte_rcu_qsbr.h index
> 18811c1cc106..62a420a785fc 100644
> --- a/lib/rcu/rte_rcu_qsbr.h
> +++ b/lib/rcu/rte_rcu_qsbr.h
> @@ -362,7 +362,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v,
> unsigned int thread_id)
> 
>  	/* The reader can go offline only after the load of the
>  	 * data structure is completed. i.e. any load of the
> -	 * data strcture can not move after this store.
> +	 * data structure can not move after this store.
>  	 */
> 
>  	__atomic_store_n(&v->qsbr_cnt[thread_id].cnt,
> --
> 2.30.2


^ permalink raw reply	[flat|nested] 125+ messages in thread

* RE: [PATCH v4 11/18] pipeline: fix spellin error in comment
  2021-11-12  0:02   ` [PATCH v4 11/18] pipeline: fix spellin error " Stephen Hemminger
@ 2021-11-12 11:19     ` Dumitrescu, Cristian
  0 siblings, 0 replies; 125+ messages in thread
From: Dumitrescu, Cristian @ 2021-11-12 11:19 UTC (permalink / raw)
  To: Stephen Hemminger, dev



> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Friday, November 12, 2021 12:02 AM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Dumitrescu,
> Cristian <cristian.dumitrescu@intel.com>
> Subject: [PATCH v4 11/18] pipeline: fix spellin error in comment
> 
> Minor typo
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/pipeline/rte_swx_pipeline.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/pipeline/rte_swx_pipeline.h b/lib/pipeline/rte_swx_pipeline.h
> index 9c3d08199ce8..77141bd3415b 100644
> --- a/lib/pipeline/rte_swx_pipeline.h
> +++ b/lib/pipeline/rte_swx_pipeline.h
> @@ -647,7 +647,7 @@ struct rte_swx_pipeline_selector_params {
>  	const char *group_id_field_name;
> 
>  	/** The set of fields used to select (through a hashing scheme) the
> -	 * member within the current group. Inputs into the seletion
> operation.
> +	 * member within the current group. Inputs into the selection
> operation.
>  	 * Restriction: All the selector fields must be part of the same struct,
>  	 * i.e. part of the same header or part of the meta-data structure.
>  	 */
> --
> 2.30.2

Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

^ permalink raw reply	[flat|nested] 125+ messages in thread

* RE: [PATCH v4 18/18] test: fix spelling errors in comments
  2021-11-12  0:02   ` [PATCH v4 18/18] test: " Stephen Hemminger
@ 2021-11-12 11:19     ` Dumitrescu, Cristian
  0 siblings, 0 replies; 125+ messages in thread
From: Dumitrescu, Cristian @ 2021-11-12 11:19 UTC (permalink / raw)
  To: Stephen Hemminger, dev
  Cc: Ananyev, Konstantin, Trahe, Fiona, Ashish Gupta, Wang, Yipeng1,
	Gobriel, Sameh, Richardson, Bruce, Medvedkin, Vladimir,
	Olivier Matz, Andrew Rybchenko, Burakov, Anatoly,
	Honnappa Nagarahalli, Iremonger, Bernard, Chas Williams,
	Min Hu (Connor),
	Robert Sanford, Carrillo, Erik G



> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Friday, November 12, 2021 12:02 AM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Ananyev,
> Konstantin <konstantin.ananyev@intel.com>; Trahe, Fiona
> <fiona.trahe@intel.com>; Ashish Gupta <ashish.gupta@marvell.com>;
> Wang, Yipeng1 <yipeng1.wang@intel.com>; Gobriel, Sameh
> <sameh.gobriel@intel.com>; Richardson, Bruce
> <bruce.richardson@intel.com>; Medvedkin, Vladimir
> <vladimir.medvedkin@intel.com>; Olivier Matz <olivier.matz@6wind.com>;
> Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>; Burakov, Anatoly
> <anatoly.burakov@intel.com>; Honnappa Nagarahalli
> <honnappa.nagarahalli@arm.com>; Iremonger, Bernard
> <bernard.iremonger@intel.com>; Chas Williams <chas3@att.com>; Min Hu
> (Connor) <humin29@huawei.com>; Dumitrescu, Cristian
> <cristian.dumitrescu@intel.com>; Robert Sanford <rsanford@akamai.com>;
> Carrillo, Erik G <erik.g.carrillo@intel.com>
> Subject: [PATCH v4 18/18] test: fix spelling errors in comments
> 
> Lots of little typos.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  app/test/test_atomic.c          |  2 +-
>  app/test/test_barrier.c         |  2 +-
>  app/test/test_bpf.c             |  2 +-
>  app/test/test_compressdev.c     |  2 +-
>  app/test/test_func_reentrancy.c |  6 +++---
>  app/test/test_ipsec.c           |  2 +-
>  app/test/test_link_bonding.c    |  2 +-
>  app/test/test_lpm.c             |  6 +++---
>  app/test/test_lpm6.c            | 14 +++++++-------
>  app/test/test_malloc.c          |  4 ++--
>  app/test/test_mbuf.c            |  2 +-
>  app/test/test_mempool.c         |  2 +-
>  app/test/test_mempool_perf.c    |  2 +-
>  app/test/test_meter.c           |  6 +++---
>  app/test/test_pmd_perf.c        |  2 +-
>  app/test/test_timer.c           |  2 +-
>  16 files changed, 29 insertions(+), 29 deletions(-)
> 
> diff --git a/app/test/test_atomic.c b/app/test/test_atomic.c
> index ce0c259bd785..e4b997827ea8 100644
> --- a/app/test/test_atomic.c
> +++ b/app/test/test_atomic.c
> @@ -88,7 +88,7 @@
>   *
>   *   - Invoke ``test_atomic_exchange`` on each lcore.  Before doing
>   *     anything else, the cores wait for a synchronization event.
> - *     Each core then does the follwoing for N iterations:
> + *     Each core then does the following for N iterations:
>   *
>   *       Generate a new token with a data integrity check
>   *       Exchange the new token for previously generated token
> diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c
> index c27f8a0742f2..8fa93c00329a 100644
> --- a/app/test/test_barrier.c
> +++ b/app/test/test_barrier.c
> @@ -66,7 +66,7 @@ struct plock_test {
>  struct lcore_plock_test {
>  	struct plock_test *pt[2]; /* shared, lock-protected data */
>  	uint64_t sum[2];          /* local copy of the shared data */
> -	uint64_t iter;            /* number of iterations to perfom */
> +	uint64_t iter;            /* number of iterations to perform */
>  	uint32_t lc;              /* given lcore id */
>  };
> 
> diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c
> index e3e9a1b0b59f..d9d7b71fd69b 100644
> --- a/app/test/test_bpf.c
> +++ b/app/test/test_bpf.c
> @@ -2407,7 +2407,7 @@ static const struct ebpf_insn test_call5_prog[] = {
>  	},
>  };
> 
> -/* String comparision impelementation, return 0 if equal else difference */
> +/* String comparison implementation, return 0 if equal else difference */
>  static uint32_t
>  dummy_func5(const char *s1, const char *s2)
>  {
> diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c
> index a1b9f062501f..c63b5b6737a4 100644
> --- a/app/test/test_compressdev.c
> +++ b/app/test/test_compressdev.c
> @@ -2033,7 +2033,7 @@ test_deflate_comp_decomp(const struct
> interim_data_params *int_data,
>  	test_priv_data.all_decomp_data = &all_decomp_data;
>  	test_priv_data.decomp_produced_data_size =
> &decomp_produced_data_size;
> 
> -	test_priv_data.num_priv_xforms = 0; /* it's used for deompression
> only */
> +	test_priv_data.num_priv_xforms = 0; /* it's used for decompression
> only */
> 
>  	capa = rte_compressdev_capability_get(0,
> RTE_COMP_ALGO_DEFLATE);
>  	if (capa == NULL) {
> diff --git a/app/test/test_func_reentrancy.c
> b/app/test/test_func_reentrancy.c
> index 838ab6f0f90b..36e83bc5872b 100644
> --- a/app/test/test_func_reentrancy.c
> +++ b/app/test/test_func_reentrancy.c
> @@ -253,7 +253,7 @@ hash_create_free(__rte_unused void *arg)
>  			rte_atomic32_inc(&obj_count);
>  	}
> 
> -	/* create mutiple times simultaneously */
> +	/* create multiple times simultaneously */
>  	for (i = 0; i < MAX_ITER_MULTI; i++) {
>  		snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d",
> lcore_self, i);
>  		hash_params.name = hash_name;
> @@ -321,7 +321,7 @@ fbk_create_free(__rte_unused void *arg)
>  			rte_atomic32_inc(&obj_count);
>  	}
> 
> -	/* create mutiple fbk tables simultaneously */
> +	/* create multiple fbk tables simultaneously */
>  	for (i = 0; i < MAX_ITER_MULTI; i++) {
>  		snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d",
> lcore_self, i);
>  		fbk_params.name = fbk_name;
> @@ -387,7 +387,7 @@ lpm_create_free(__rte_unused void *arg)
>  			rte_atomic32_inc(&obj_count);
>  	}
> 
> -	/* create mutiple fbk tables simultaneously */
> +	/* create multiple fbk tables simultaneously */
>  	for (i = 0; i < MAX_LPM_ITER_TIMES; i++) {
>  		snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d",
> lcore_self, i);
>  		lpm = rte_lpm_create(lpm_name, SOCKET_ID_ANY,
> &config);
> diff --git a/app/test/test_ipsec.c b/app/test/test_ipsec.c
> index 1bec63b0e872..bc2a3dbc2e0a 100644
> --- a/app/test/test_ipsec.c
> +++ b/app/test/test_ipsec.c
> @@ -653,7 +653,7 @@ create_crypto_session(struct ipsec_unitest_params
> *ut,
>  	if (s == NULL)
>  		return -ENOMEM;
> 
> -	/* initiliaze SA crypto session for device */
> +	/* initialize SA crypto session for device */
>  	rc = rte_cryptodev_sym_session_init(dev_id, s,
>  			ut->crypto_xforms, qp->mp_session_private);
>  	if (rc == 0) {
> diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c
> index 8a9ef851789f..dc6fc46b9c93 100644
> --- a/app/test/test_link_bonding.c
> +++ b/app/test/test_link_bonding.c
> @@ -3040,7 +3040,7 @@ test_balance_tx_burst_slave_tx_fail(void)
>  	first_tx_fail_idx = TEST_BAL_SLAVE_TX_FAIL_BURST_SIZE_1 -
>  			TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT;
> 
> -	/* copy mbuf referneces for expected transmission failures */
> +	/* copy mbuf references for expected transmission failures */
>  	for (i = 0; i < TEST_BAL_SLAVE_TX_FAIL_PACKETS_COUNT; i++)
>  		expected_fail_pkts[i] = pkts_burst_1[i + first_tx_fail_idx];
> 
> diff --git a/app/test/test_lpm.c b/app/test/test_lpm.c
> index 556f5a67baf1..37b460af3a96 100644
> --- a/app/test/test_lpm.c
> +++ b/app/test/test_lpm.c
> @@ -179,7 +179,7 @@ test3(void)
>  	status = rte_lpm_add(NULL, ip, depth, next_hop);
>  	TEST_LPM_ASSERT(status < 0);
> 
> -	/*Create vaild lpm to use in rest of test. */
> +	/*Create valid lpm to use in rest of test. */
>  	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
>  	TEST_LPM_ASSERT(lpm != NULL);
> 
> @@ -217,7 +217,7 @@ test4(void)
>  	status = rte_lpm_delete(NULL, ip, depth);
>  	TEST_LPM_ASSERT(status < 0);
> 
> -	/*Create vaild lpm to use in rest of test. */
> +	/*Create valid lpm to use in rest of test. */
>  	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
>  	TEST_LPM_ASSERT(lpm != NULL);
> 
> @@ -255,7 +255,7 @@ test5(void)
>  	status = rte_lpm_lookup(NULL, ip, &next_hop_return);
>  	TEST_LPM_ASSERT(status < 0);
> 
> -	/*Create vaild lpm to use in rest of test. */
> +	/*Create valid lpm to use in rest of test. */
>  	lpm = rte_lpm_create(__func__, SOCKET_ID_ANY, &config);
>  	TEST_LPM_ASSERT(lpm != NULL);
> 
> diff --git a/app/test/test_lpm6.c b/app/test/test_lpm6.c
> index 0d664546fa47..17221f992aee 100644
> --- a/app/test/test_lpm6.c
> +++ b/app/test/test_lpm6.c
> @@ -261,7 +261,7 @@ test4(void)
>  	status = rte_lpm6_add(NULL, ip, depth, next_hop);
>  	TEST_LPM_ASSERT(status < 0);
> 
> -	/*Create vaild lpm to use in rest of test. */
> +	/*Create valid lpm to use in rest of test. */
>  	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
>  	TEST_LPM_ASSERT(lpm != NULL);
> 
> @@ -299,7 +299,7 @@ test5(void)
>  	status = rte_lpm6_delete(NULL, ip, depth);
>  	TEST_LPM_ASSERT(status < 0);
> 
> -	/*Create vaild lpm to use in rest of test. */
> +	/*Create valid lpm to use in rest of test. */
>  	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
>  	TEST_LPM_ASSERT(lpm != NULL);
> 
> @@ -337,7 +337,7 @@ test6(void)
>  	status = rte_lpm6_lookup(NULL, ip, &next_hop_return);
>  	TEST_LPM_ASSERT(status < 0);
> 
> -	/*Create vaild lpm to use in rest of test. */
> +	/*Create valid lpm to use in rest of test. */
>  	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
>  	TEST_LPM_ASSERT(lpm != NULL);
> 
> @@ -375,7 +375,7 @@ test7(void)
>  	status = rte_lpm6_lookup_bulk_func(NULL, ip, next_hop_return,
> 10);
>  	TEST_LPM_ASSERT(status < 0);
> 
> -	/*Create vaild lpm to use in rest of test. */
> +	/*Create valid lpm to use in rest of test. */
>  	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
>  	TEST_LPM_ASSERT(lpm != NULL);
> 
> @@ -413,7 +413,7 @@ test8(void)
>  	status = rte_lpm6_delete_bulk_func(NULL, ip, depth, 10);
>  	TEST_LPM_ASSERT(status < 0);
> 
> -	/*Create vaild lpm to use in rest of test. */
> +	/*Create valid lpm to use in rest of test. */
>  	lpm = rte_lpm6_create(__func__, SOCKET_ID_ANY, &config);
>  	TEST_LPM_ASSERT(lpm != NULL);
> 
> @@ -433,7 +433,7 @@ test8(void)
>  /*
>   * Call add, lookup and delete for a single rule with depth < 24.
>   * Check all the combinations for the first three bytes that result in a hit.
> - * Delete the rule and check that the same test returs a miss.
> + * Delete the rule and check that the same test returns a miss.
>   */
>  int32_t
>  test9(void)
> @@ -1738,7 +1738,7 @@ test27(void)
>   * Call add, lookup and delete for a single rule with maximum 21bit next_hop
>   * size.
>   * Check that next_hop returned from lookup is equal to provisioned value.
> - * Delete the rule and check that the same test returs a miss.
> + * Delete the rule and check that the same test returns a miss.
>   */
>  int32_t
>  test28(void)
> diff --git a/app/test/test_malloc.c b/app/test/test_malloc.c
> index afff0de9f05a..6d9249f831be 100644
> --- a/app/test/test_malloc.c
> +++ b/app/test/test_malloc.c
> @@ -603,7 +603,7 @@ test_realloc_numa(void)
>  		}
>  	}
> 
> -	/* Print warnign if only a single socket, but don't fail the test */
> +	/* Print warning if only a single socket, but don't fail the test */
>  	if (socket_count < 2)
>  		printf("WARNING: realloc_socket test needs memory on
> multiple sockets!\n");
> 
> @@ -971,7 +971,7 @@ test_alloc_socket(void)
>  		}
>  	}
> 
> -	/* Print warnign if only a single socket, but don't fail the test */
> +	/* Print warning if only a single socket, but don't fail the test */
>  	if (socket_count < 2) {
>  		printf("WARNING: alloc_socket test needs memory on
> multiple sockets!\n");
>  	}
> diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c
> index f93bcef8a9bb..75f345394665 100644
> --- a/app/test/test_mbuf.c
> +++ b/app/test/test_mbuf.c
> @@ -1148,7 +1148,7 @@ test_refcnt_mbuf(void)
> 
>  	rte_eal_mp_wait_lcore();
> 
> -	/* check that we porcessed all references */
> +	/* check that we processed all references */
>  	tref = 0;
>  	main_lcore = rte_get_main_lcore();
> 
> diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c
> index a451608558f8..f6c650d11f35 100644
> --- a/app/test/test_mempool.c
> +++ b/app/test/test_mempool.c
> @@ -994,7 +994,7 @@ test_mempool(void)
>  	if (test_mempool_basic_ex(mp_nocache) < 0)
>  		GOTO_ERR(ret, err);
> 
> -	/* mempool operation test based on single producer and single
> comsumer */
> +	/* mempool operation test based on single producer and single
> consumer */
>  	if (test_mempool_sp_sc() < 0)
>  		GOTO_ERR(ret, err);
> 
> diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c
> index 8f629736e8fd..87ad25136796 100644
> --- a/app/test/test_mempool_perf.c
> +++ b/app/test/test_mempool_perf.c
> @@ -88,7 +88,7 @@ static uint32_t synchro;
>  static unsigned n_get_bulk;
>  static unsigned n_put_bulk;
> 
> -/* number of objects retrived from mempool before putting them back */
> +/* number of objects retrieved from mempool before putting them back */
>  static unsigned n_keep;
> 
>  /* number of enqueues / dequeues */
> diff --git a/app/test/test_meter.c b/app/test/test_meter.c
> index f6fe6494ab63..15d5a4839b4b 100644
> --- a/app/test/test_meter.c
> +++ b/app/test/test_meter.c
> @@ -444,7 +444,7 @@ tm_test_srtcm_color_aware_check(void)
>  	  * if using blind check
>  	  */
> 
> -	/* previouly have a green, test points should keep unchanged */
> +	/* previously have a green, test points should keep unchanged */
>  	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
>  	out[0] = RTE_COLOR_GREEN;
>  	out[1] = RTE_COLOR_YELLOW;
> @@ -551,7 +551,7 @@ tm_test_trtcm_color_aware_check(void)
>  	  * if using blind check
>  	  */
> 
> -	/* previouly have a green, test points should keep unchanged */
> +	/* previously have a green, test points should keep unchanged */
>  	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
>  	out[0] = RTE_COLOR_GREEN;
>  	out[1] = RTE_COLOR_YELLOW;
> @@ -648,7 +648,7 @@ tm_test_trtcm_rfc4115_color_aware_check(void)
>  	  * if using blind check
>  	  */
> 
> -	/* previouly have a green, test points should keep unchanged */
> +	/* previously have a green, test points should keep unchanged */
>  	in[0] = in[1] = in[2] = in[3] = RTE_COLOR_GREEN;
>  	out[0] = RTE_COLOR_GREEN;
>  	out[1] = RTE_COLOR_YELLOW;
> diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
> index 1df86ce080e5..aac6c97cebd3 100644
> --- a/app/test/test_pmd_perf.c
> +++ b/app/test/test_pmd_perf.c
> @@ -752,7 +752,7 @@ test_pmd_perf(void)
>  				"rte_eth_dev_start: err=%d, port=%d\n",
>  				ret, portid);
> 
> -		/* always eanble promiscuous */
> +		/* always enable promiscuous */
>  		ret = rte_eth_promiscuous_enable(portid);
>  		if (ret != 0)
>  			rte_exit(EXIT_FAILURE,
> diff --git a/app/test/test_timer.c b/app/test/test_timer.c
> index a10b2fe9daf4..631b737d169d 100644
> --- a/app/test/test_timer.c
> +++ b/app/test/test_timer.c
> @@ -432,7 +432,7 @@ timer_basic_cb(struct rte_timer *tim, void *arg)
>  		return;
>  	}
> 
> -	/* Explicitelly stop timer 0. Once stop() called, we can even
> +	/* Explicitly stop timer 0. Once stop() called, we can even
>  	 * erase the content of the structure: it is not referenced
>  	 * anymore by any code (in case of dynamic structure, it can
>  	 * be freed) */
> --
> 2.30.2

Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

^ permalink raw reply	[flat|nested] 125+ messages in thread

* RE: [PATCH v4 14/18] sched: fix typo in comment
  2021-11-12  0:02   ` [PATCH v4 14/18] sched: " Stephen Hemminger
@ 2021-11-12 11:19     ` Dumitrescu, Cristian
  0 siblings, 0 replies; 125+ messages in thread
From: Dumitrescu, Cristian @ 2021-11-12 11:19 UTC (permalink / raw)
  To: Stephen Hemminger, dev; +Cc: Singh, Jasvinder



> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Friday, November 12, 2021 12:02 AM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Dumitrescu,
> Cristian <cristian.dumitrescu@intel.com>; Singh, Jasvinder
> <jasvinder.singh@intel.com>
> Subject: [PATCH v4 14/18] sched: fix typo in comment
> 
> Yet another spelling error found by codespell.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/sched/rte_sched.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
> index 2fe32bbd33d5..ed44808f7b38 100644
> --- a/lib/sched/rte_sched.c
> +++ b/lib/sched/rte_sched.c
> @@ -590,7 +590,7 @@ rte_sched_subport_config_qsize(struct
> rte_sched_subport *subport)
> 
>  	subport->qsize_add[0] = 0;
> 
> -	/* Strict prority traffic class */
> +	/* Strict priority traffic class */
>  	for (i = 1; i < RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE; i++)
>  		subport->qsize_add[i] = subport->qsize_add[i-1] + subport-
> >qsize[i-1];
> 
> --
> 2.30.2

Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [PATCH v4 00/18] fix docbook and spelling errors
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (17 preceding siblings ...)
  2021-11-12  0:02   ` [PATCH v4 18/18] test: " Stephen Hemminger
@ 2021-11-12 11:35   ` Ferruh Yigit
  2021-11-12 12:13   ` [PATCH] ethdev: fix typos Ferruh Yigit
  2021-11-16 16:57   ` [PATCH v4 00/18] fix docbook and spelling errors David Marchand
  20 siblings, 0 replies; 125+ messages in thread
From: Ferruh Yigit @ 2021-11-12 11:35 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev

On 11/12/2021 12:02 AM, Stephen Hemminger wrote:
> After finding a few typos in BPF, decided to cast a
> wider net and fix lots more places.  These are all contained
> to typos in strings or comments.
> 
> v4 - rebase and resend
> 

There are a few typo fix in ethdev, which are sitting in my local
repo for a while, can we include it into your series? I will send
it as reply to this email.

Thanks,
ferruh

^ permalink raw reply	[flat|nested] 125+ messages in thread

* [PATCH] ethdev: fix typos
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (18 preceding siblings ...)
  2021-11-12 11:35   ` [PATCH v4 00/18] fix docbook and spelling errors Ferruh Yigit
@ 2021-11-12 12:13   ` Ferruh Yigit
  2021-11-15  8:32     ` Ori Kam
  2021-11-16 16:57   ` [PATCH v4 00/18] fix docbook and spelling errors David Marchand
  20 siblings, 1 reply; 125+ messages in thread
From: Ferruh Yigit @ 2021-11-12 12:13 UTC (permalink / raw)
  To: Thomas Monjalon, Andrew Rybchenko, Ori Kam; +Cc: Ferruh Yigit, dev

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
 lib/ethdev/ethdev_driver.h | 4 ++--
 lib/ethdev/rte_flow.h      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h
index dcbffd4265fa..d95605a355ae 100644
--- a/lib/ethdev/ethdev_driver.h
+++ b/lib/ethdev/ethdev_driver.h
@@ -227,7 +227,7 @@ typedef int (*eth_is_removed_t)(struct rte_eth_dev *dev);
  * @retval -E_RTE_SECONDARY
  *   Function was called from a secondary process instance and not supported.
  * @retval -ETIMEDOUT
- *   Attempt to enable promiscuos mode failed because of timeout.
+ *   Attempt to enable promiscuous mode failed because of timeout.
  * @retval -EAGAIN
  *   Failed to enable promiscuous mode.
  */
@@ -252,7 +252,7 @@ typedef int (*eth_promiscuous_enable_t)(struct rte_eth_dev *dev);
  * @retval -E_RTE_SECONDARY
  *   Function was called from a secondary process instance and not supported.
  * @retval -ETIMEDOUT
- *   Attempt to disable promiscuos mode failed because of timeout.
+ *   Attempt to disable promiscuous mode failed because of timeout.
  * @retval -EAGAIN
  *   Failed to disable promiscuous mode.
  */
diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
index ebcd3a3c8e8c..650376c16dc5 100644
--- a/lib/ethdev/rte_flow.h
+++ b/lib/ethdev/rte_flow.h
@@ -3954,7 +3954,7 @@ enum rte_flow_conv_op {
  *   Perform verbose error reporting if not NULL. PMDs initialize this
  *   structure in case of error only.
  * @return
- *   0 on success, a nagative value otherwise.
+ *   0 on success, a negative value otherwise.
  */
 __rte_experimental
 int
@@ -4316,7 +4316,7 @@ rte_flow_conv(enum rte_flow_conv_op op,
  *
  * RTE_ETH_EVENT_FLOW_AGED event will be triggered when at least one new aged
  * out flow was detected after the last call to rte_flow_get_aged_flows.
- * This function can be called to get the aged flows usynchronously from the
+ * This function can be called to get the aged flows asynchronously from the
  * event callback or synchronously regardless the event.
  * This is not safe to call rte_flow_get_aged_flows function with other flow
  * functions from multiple threads simultaneously.
-- 
2.31.1


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [PATCH v4 02/18] ipsec: fix spelling errors
  2021-11-12  0:02   ` [PATCH v4 02/18] ipsec: fix spelling errors Stephen Hemminger
@ 2021-11-12 14:21     ` Medvedkin, Vladimir
  0 siblings, 0 replies; 125+ messages in thread
From: Medvedkin, Vladimir @ 2021-11-12 14:21 UTC (permalink / raw)
  To: Stephen Hemminger, dev; +Cc: Konstantin Ananyev, Bernard Iremonger



On 12/11/2021 01:02, Stephen Hemminger wrote:
> Lots of typos in comments found by codespell
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> ---
>   lib/ipsec/esp_inb.c   | 4 ++--
>   lib/ipsec/esp_outb.c  | 2 +-
>   lib/ipsec/ipsec_sad.c | 2 +-
>   lib/ipsec/sa.c        | 2 +-
>   lib/ipsec/sa.h        | 2 +-
>   5 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c
> index 99e9c43f2f68..636c850fa6a9 100644
> --- a/lib/ipsec/esp_inb.c
> +++ b/lib/ipsec/esp_inb.c
> @@ -475,7 +475,7 @@ trs_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml,
>   
>   /*
>    * packet checks for tunnel mode:
> - * - same as for trasnport mode
> + * - same as for transport mode
>    * - esp tail next proto contains expected for that SA value
>    */
>   static inline int32_t
> @@ -561,7 +561,7 @@ trs_process_step3(struct rte_mbuf *mb)
>   static inline void
>   tun_process_step3(struct rte_mbuf *mb, uint64_t txof_msk, uint64_t txof_val)
>   {
> -	/* reset mbuf metatdata: L2/L3 len, packet type */
> +	/* reset mbuf metadata: L2/L3 len, packet type */
>   	mb->packet_type = RTE_PTYPE_UNKNOWN;
>   	mb->tx_offload = (mb->tx_offload & txof_msk) | txof_val;
>   
> diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c
> index b7a70fd00186..672e56aba084 100644
> --- a/lib/ipsec/esp_outb.c
> +++ b/lib/ipsec/esp_outb.c
> @@ -614,7 +614,7 @@ cpu_outb_trs_pkt_prepare(const struct rte_ipsec_session *ss,
>   
>   /*
>    * process outbound packets for SA with ESN support,
> - * for algorithms that require SQN.hibits to be implictly included
> + * for algorithms that require SQN.hibits to be implicitly included
>    * into digest computation.
>    * In that case we have to move ICV bytes back to their proper place.
>    */
> diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c
> index 3f9533c80a68..531e1e323cdc 100644
> --- a/lib/ipsec/ipsec_sad.c
> +++ b/lib/ipsec/ipsec_sad.c
> @@ -62,7 +62,7 @@ EAL_REGISTER_TAILQ(rte_ipsec_sad_tailq)
>    * Inserts a rule into an appropriate hash table,
>    * updates the value for a given SPI in SPI_ONLY hash table
>    * reflecting presence of more specific rule type in two LSBs.
> - * Updates a counter that reflects the number of rules whith the same SPI.
> + * Updates a counter that reflects the number of rules with the same SPI.
>    */
>   static inline int
>   add_specific(struct rte_ipsec_sad *sad, const void *key,
> diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c
> index a19819f9f179..1e51482c9242 100644
> --- a/lib/ipsec/sa.c
> +++ b/lib/ipsec/sa.c
> @@ -136,7 +136,7 @@ ipsec_sa_size(uint64_t type, uint32_t *wnd_sz, uint32_t *nb_bucket)
>   		/*
>   		 * RFC 4303 recommends 64 as minimum window size.
>   		 * there is no point to use ESN mode without SQN window,
> -		 * so make sure we have at least 64 window when ESN is enalbed.
> +		 * so make sure we have at least 64 window when ESN is enabled.
>   		 */
>   		wsz = ((type & RTE_IPSEC_SATP_ESN_MASK) ==
>   			RTE_IPSEC_SATP_ESN_DISABLE) ?
> diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h
> index 6e59f18e1602..7503587b5004 100644
> --- a/lib/ipsec/sa.h
> +++ b/lib/ipsec/sa.h
> @@ -122,7 +122,7 @@ struct rte_ipsec_sa {
>   	 * In case of SA handled by multiple threads *sqn* cacheline
>   	 * could be shared by multiple cores.
>   	 * To minimise performance impact, we try to locate in a separate
> -	 * place from other frequently accesed data.
> +	 * place from other frequently accessed data.
>   	 */
>   	union {
>   		uint64_t outb;
> 

Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

-- 
Regards,
Vladimir

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [PATCH v4 12/18] hash: fix typo in comment
  2021-11-12  0:02   ` [PATCH v4 12/18] hash: fix typo " Stephen Hemminger
@ 2021-11-12 14:22     ` Medvedkin, Vladimir
  0 siblings, 0 replies; 125+ messages in thread
From: Medvedkin, Vladimir @ 2021-11-12 14:22 UTC (permalink / raw)
  To: Stephen Hemminger, dev; +Cc: Yipeng Wang, Sameh Gobriel, Bruce Richardson



On 12/11/2021 01:02, Stephen Hemminger wrote:
> Yet another spelling error found by codespell.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>   lib/hash/rte_thash.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/hash/rte_thash.c b/lib/hash/rte_thash.c
> index 394e1328c531..6847e36f4b10 100644
> --- a/lib/hash/rte_thash.c
> +++ b/lib/hash/rte_thash.c
> @@ -28,7 +28,7 @@ EAL_REGISTER_TAILQ(rte_thash_tailq)
>   
>   /**
>    * Table of some irreducible polinomials over GF(2).
> - * For lfsr they are reperesented in BE bit order, and
> + * For lfsr they are represented in BE bit order, and
>    * x^0 is masked out.
>    * For example, poly x^5 + x^2 + 1 will be represented
>    * as (101001b & 11111b) = 01001b = 0x9
> 

Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

-- 
Regards,
Vladimir

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [PATCH v4 13/18] rib: fix typo in comment
  2021-11-12  0:02   ` [PATCH v4 13/18] rib: " Stephen Hemminger
@ 2021-11-12 14:23     ` Medvedkin, Vladimir
  0 siblings, 0 replies; 125+ messages in thread
From: Medvedkin, Vladimir @ 2021-11-12 14:23 UTC (permalink / raw)
  To: Stephen Hemminger, dev



On 12/11/2021 01:02, Stephen Hemminger wrote:
> Yet another spelling error found by codespell.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>   lib/rib/rte_rib6.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c
> index b00c7fbf5ab0..70405113b419 100644
> --- a/lib/rib/rte_rib6.c
> +++ b/lib/rib/rte_rib6.c
> @@ -199,7 +199,7 @@ rte_rib6_lookup_exact(struct rte_rib6 *rib,
>   }
>   
>   /*
> - *  Traverses on subtree and retreeves more specific routes
> + *  Traverses on subtree and retrieves more specific routes
>    *  for a given in args ip/depth prefix
>    *  last = NULL means the first invocation
>    */
> 

Acked-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

-- 
Regards,
Vladimir

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [PATCH v4 08/18] eal: fix typos in comments
  2021-11-12  0:02   ` [PATCH v4 08/18] eal: fix typos in comments Stephen Hemminger
@ 2021-11-12 15:22     ` Kinsella, Ray
  0 siblings, 0 replies; 125+ messages in thread
From: Kinsella, Ray @ 2021-11-12 15:22 UTC (permalink / raw)
  To: Stephen Hemminger, dev
  Cc: Dmitry Kozlyuk, Narcisa Ana Maria Vasile, Dmitry Malloy, Pallavi Kadam



On 12/11/2021 00:02, Stephen Hemminger wrote:
> Minor spelling errors.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>   lib/eal/include/rte_function_versioning.h | 2 +-
>   lib/eal/windows/include/fnmatch.h         | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/eal/include/rte_function_versioning.h b/lib/eal/include/rte_function_versioning.h
> index 746a1e19923e..eb6dd2bc1727 100644
> --- a/lib/eal/include/rte_function_versioning.h
> +++ b/lib/eal/include/rte_function_versioning.h
> @@ -15,7 +15,7 @@
>   
>   /*
>    * Provides backwards compatibility when updating exported functions.
> - * When a symol is exported from a library to provide an API, it also provides a
> + * When a symbol is exported from a library to provide an API, it also provides a
>    * calling convention (ABI) that is embodied in its name, return type,
>    * arguments, etc.  On occasion that function may need to change to accommodate
>    * new functionality, behavior, etc.  When that occurs, it is desirable to
> diff --git a/lib/eal/windows/include/fnmatch.h b/lib/eal/windows/include/fnmatch.h
> index 142753c3568d..c272f65ccdc3 100644
> --- a/lib/eal/windows/include/fnmatch.h
> +++ b/lib/eal/windows/include/fnmatch.h
> @@ -30,7 +30,7 @@ extern "C" {
>    * with the given regular expression pattern.
>    *
>    * @param pattern
> - *	regular expression notation decribing the pattern to match
> + *	regular expression notation describing the pattern to match
>    *
>    * @param string
>    *	source string to searcg for the pattern
> 

Acked-by: Ray Kinsella <mdr@ashroe.eu>

^ permalink raw reply	[flat|nested] 125+ messages in thread

* RE: [PATCH v4 15/18] vhost: fix typo in comment
  2021-11-12  0:02   ` [PATCH v4 15/18] vhost: " Stephen Hemminger
@ 2021-11-15  1:40     ` Xia, Chenbo
  0 siblings, 0 replies; 125+ messages in thread
From: Xia, Chenbo @ 2021-11-15  1:40 UTC (permalink / raw)
  To: Stephen Hemminger, dev; +Cc: Maxime Coquelin

> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Friday, November 12, 2021 8:02 AM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>; Maxime Coquelin
> <maxime.coquelin@redhat.com>; Xia, Chenbo <chenbo.xia@intel.com>
> Subject: [PATCH v4 15/18] vhost: fix typo in comment
> 
> Yet another spelling error found by codespell.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  lib/vhost/rte_vhost.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/vhost/rte_vhost.h b/lib/vhost/rte_vhost.h
> index af0afbcf60e0..b454c05868e1 100644
> --- a/lib/vhost/rte_vhost.h
> +++ b/lib/vhost/rte_vhost.h
> @@ -796,7 +796,7 @@ rte_vhost_get_vhost_ring_inflight(int vid, uint16_t
> vring_idx,
>  /**
>   * Set split inflight descriptor.
>   *
> - * This function save descriptors that has been comsumed in available
> + * This function save descriptors that has been consumed in available
>   * ring
>   *
>   * @param vid
> @@ -815,7 +815,7 @@ rte_vhost_set_inflight_desc_split(int vid, uint16_t
> vring_idx,
>  /**
>   * Set packed inflight descriptor and get corresponding inflight entry
>   *
> - * This function save descriptors that has been comsumed
> + * This function save descriptors that has been consumed
>   *
>   * @param vid
>   *  vhost device ID
> --
> 2.30.2

Acked-by: Chenbo Xia <chenbo.xia@intel.com>

^ permalink raw reply	[flat|nested] 125+ messages in thread

* RE: [PATCH] ethdev: fix typos
  2021-11-12 12:13   ` [PATCH] ethdev: fix typos Ferruh Yigit
@ 2021-11-15  8:32     ` Ori Kam
  2021-11-15 16:46       ` Ferruh Yigit
  0 siblings, 1 reply; 125+ messages in thread
From: Ori Kam @ 2021-11-15  8:32 UTC (permalink / raw)
  To: Ferruh Yigit, NBU-Contact-Thomas Monjalon, Andrew Rybchenko; +Cc: dev

Hi

> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit@intel.com>
> Sent: Friday, November 12, 2021 2:14 PM
> Subject: [PATCH] ethdev: fix typos
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> ---
>  lib/ethdev/ethdev_driver.h | 4 ++--
>  lib/ethdev/rte_flow.h      | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h
> index dcbffd4265fa..d95605a355ae 100644
> --- a/lib/ethdev/ethdev_driver.h
> +++ b/lib/ethdev/ethdev_driver.h
> @@ -227,7 +227,7 @@ typedef int (*eth_is_removed_t)(struct rte_eth_dev *dev);
>   * @retval -E_RTE_SECONDARY
>   *   Function was called from a secondary process instance and not supported.
>   * @retval -ETIMEDOUT
> - *   Attempt to enable promiscuos mode failed because of timeout.
> + *   Attempt to enable promiscuous mode failed because of timeout.
>   * @retval -EAGAIN
>   *   Failed to enable promiscuous mode.
>   */
> @@ -252,7 +252,7 @@ typedef int (*eth_promiscuous_enable_t)(struct rte_eth_dev *dev);
>   * @retval -E_RTE_SECONDARY
>   *   Function was called from a secondary process instance and not supported.
>   * @retval -ETIMEDOUT
> - *   Attempt to disable promiscuos mode failed because of timeout.
> + *   Attempt to disable promiscuous mode failed because of timeout.
>   * @retval -EAGAIN
>   *   Failed to disable promiscuous mode.
>   */
> diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h
> index ebcd3a3c8e8c..650376c16dc5 100644
> --- a/lib/ethdev/rte_flow.h
> +++ b/lib/ethdev/rte_flow.h
> @@ -3954,7 +3954,7 @@ enum rte_flow_conv_op {
>   *   Perform verbose error reporting if not NULL. PMDs initialize this
>   *   structure in case of error only.
>   * @return
> - *   0 on success, a nagative value otherwise.
> + *   0 on success, a negative value otherwise.
>   */
>  __rte_experimental
>  int
> @@ -4316,7 +4316,7 @@ rte_flow_conv(enum rte_flow_conv_op op,
>   *
>   * RTE_ETH_EVENT_FLOW_AGED event will be triggered when at least one new aged
>   * out flow was detected after the last call to rte_flow_get_aged_flows.
> - * This function can be called to get the aged flows usynchronously from the
> + * This function can be called to get the aged flows asynchronously from the
>   * event callback or synchronously regardless the event.
>   * This is not safe to call rte_flow_get_aged_flows function with other flow
>   * functions from multiple threads simultaneously.
> --
> 2.31.1

Acked-by: Ori Kam <orika@nvidia.com>
Best,
Ori


^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [PATCH] ethdev: fix typos
  2021-11-15  8:32     ` Ori Kam
@ 2021-11-15 16:46       ` Ferruh Yigit
  0 siblings, 0 replies; 125+ messages in thread
From: Ferruh Yigit @ 2021-11-15 16:46 UTC (permalink / raw)
  To: Ori Kam, NBU-Contact-Thomas Monjalon, Andrew Rybchenko; +Cc: dev

On 11/15/2021 8:32 AM, Ori Kam wrote:
> Hi
> 
>> -----Original Message-----
>> From: Ferruh Yigit <ferruh.yigit@intel.com>
>> Sent: Friday, November 12, 2021 2:14 PM
>> Subject: [PATCH] ethdev: fix typos
>>
>> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> 
> Acked-by: Ori Kam <orika@nvidia.com>
> 

     Fixes: 9039c8125730 ("ethdev: change promiscuous callbacks to return status")
     Fixes: 12e6e3e78fe0 ("ethdev: add API to dump device internal flow info")
     Fixes: 44bf3c796be3 ("ethdev: support flow aging")
     Cc: stable@dpdk.org

Applied to dpdk-next-net/main, thanks.

^ permalink raw reply	[flat|nested] 125+ messages in thread

* Re: [PATCH v4 00/18] fix docbook and spelling errors
  2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
                     ` (19 preceding siblings ...)
  2021-11-12 12:13   ` [PATCH] ethdev: fix typos Ferruh Yigit
@ 2021-11-16 16:57   ` David Marchand
  20 siblings, 0 replies; 125+ messages in thread
From: David Marchand @ 2021-11-16 16:57 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: dev, Thomas Monjalon

On Fri, Nov 12, 2021 at 1:02 AM Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> After finding a few typos in BPF, decided to cast a
> wider net and fix lots more places.  These are all contained
> to typos in strings or comments.
>

Series squashed and applied, thanks.


-- 
David Marchand


^ permalink raw reply	[flat|nested] 125+ messages in thread

end of thread, other threads:[~2021-11-16 16:58 UTC | newest]

Thread overview: 125+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment spelling errors Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 01/18] node: fix typos Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 02/18] ipsec: fix spelling errors Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 03/18] eventdev: fix typo in comment Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 04/18] power: " Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 05/18] rcu: " Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 06/18] bpf: fix spelling in comments Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 07/18] acl: fix spelling errors Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 08/18] eal: fix typos in comments Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 09/18] net: fix spelling error in gtp comment Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 10/18] bbdev: fix typo in comment Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 11/18] pipeline: fix spellin error " Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 12/18] hash: fix typo " Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 13/18] rib: " Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 14/18] sched: " Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 15/18] vhost: " Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 16/18] ip_frag: fix typos Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 17/18] test: fix spelling errors in comments Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 18/18] test-pmd: " Stephen Hemminger
2021-09-09 18:10 ` [dpdk-dev] [PATCH v2 00/18] Fix spelling errors Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 01/18] node: fix typos Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 04/18] power: " Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 05/18] rcu: " Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments Stephen Hemminger
2021-09-09 19:49     ` Dmitry Kozlyuk
2021-09-09 21:51       ` Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error " Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 12/18] hash: fix typo " Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 13/18] rib: " Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 14/18] sched: " Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 15/18] vhost: " Stephen Hemminger
2021-09-09 18:55     ` Maxime Coquelin
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
2021-09-09 18:10   ` [dpdk-dev] [PATCH v2 18/18] test: " Stephen Hemminger
2021-09-13 16:10 ` [dpdk-dev] [PATCH v2 00/18] fix spelling errors Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 01/18] node: fix typos Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 02/18] ipsec: fix spelling errors Stephen Hemminger
2021-10-07 17:32     ` Ananyev, Konstantin
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 03/18] eventdev: fix typo in comment Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 04/18] power: " Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 05/18] rcu: " Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments Stephen Hemminger
2021-10-07 12:20     ` Ananyev, Konstantin
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 07/18] acl: fix spelling errors Stephen Hemminger
2021-10-07 16:23     ` Ananyev, Konstantin
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 08/18] eal: fix typos in comments Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 09/18] net: fix spelling error in gtp comment Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 10/18] bbdev: fix typo in comment Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 11/18] pipeline: fix spellin error " Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 12/18] hash: fix typo " Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 13/18] rib: " Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 14/18] sched: " Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 15/18] vhost: " Stephen Hemminger
2021-09-14  8:20     ` Maxime Coquelin
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 16/18] ip_frag: fix typos Stephen Hemminger
2021-10-07 16:27     ` Ananyev, Konstantin
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
2021-09-13 16:10   ` [dpdk-dev] [PATCH v2 18/18] test: " Stephen Hemminger
2021-10-14 21:56 ` [dpdk-dev] [PATCH v3 00/18] fix spelling errors Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 01/18] node: fix typos Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 02/18] ipsec: fix spelling errors Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 03/18] eventdev: fix typo in comment Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 04/18] power: " Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 05/18] rcu: " Stephen Hemminger
2021-10-14 21:59     ` Honnappa Nagarahalli
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 06/18] bpf: fix spelling in comments Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 07/18] acl: fix spelling errors Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 08/18] eal: fix typos in comments Stephen Hemminger
2021-10-20  9:27     ` Kinsella, Ray
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 09/18] net: fix spelling error in gtp comment Stephen Hemminger
2021-10-15 12:41     ` Olivier Matz
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 10/18] bbdev: fix typo in comment Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 11/18] pipeline: fix spellin error " Stephen Hemminger
2021-10-14 22:40     ` Dumitrescu, Cristian
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 12/18] hash: fix typo " Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 13/18] rib: " Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 14/18] sched: " Stephen Hemminger
2021-10-14 22:40     ` Dumitrescu, Cristian
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 15/18] vhost: " Stephen Hemminger
2021-10-15  6:41     ` Xia, Chenbo
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 16/18] ip_frag: fix typos Stephen Hemminger
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
2021-10-15  1:49     ` Li, Xiaoyun
2021-10-14 21:56   ` [dpdk-dev] [PATCH v3 18/18] test: " Stephen Hemminger
2021-10-15 12:44     ` Olivier Matz
2021-11-12  0:02 ` [PATCH v4 00/18] fix docbook and spelling errors Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 01/18] node: fix docbook typos Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 02/18] ipsec: fix spelling errors Stephen Hemminger
2021-11-12 14:21     ` Medvedkin, Vladimir
2021-11-12  0:02   ` [PATCH v4 03/18] eventdev: fix typo in comment Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 04/18] power: " Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 05/18] rcu: " Stephen Hemminger
2021-11-12  0:50     ` Honnappa Nagarahalli
2021-11-12  0:02   ` [PATCH v4 06/18] bpf: fix spelling in comments Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 07/18] acl: fix spelling errors Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 08/18] eal: fix typos in comments Stephen Hemminger
2021-11-12 15:22     ` Kinsella, Ray
2021-11-12  0:02   ` [PATCH v4 09/18] net: fix spelling error in gtp comment Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 10/18] bbdev: fix typo in comment Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 11/18] pipeline: fix spellin error " Stephen Hemminger
2021-11-12 11:19     ` Dumitrescu, Cristian
2021-11-12  0:02   ` [PATCH v4 12/18] hash: fix typo " Stephen Hemminger
2021-11-12 14:22     ` Medvedkin, Vladimir
2021-11-12  0:02   ` [PATCH v4 13/18] rib: " Stephen Hemminger
2021-11-12 14:23     ` Medvedkin, Vladimir
2021-11-12  0:02   ` [PATCH v4 14/18] sched: " Stephen Hemminger
2021-11-12 11:19     ` Dumitrescu, Cristian
2021-11-12  0:02   ` [PATCH v4 15/18] vhost: " Stephen Hemminger
2021-11-15  1:40     ` Xia, Chenbo
2021-11-12  0:02   ` [PATCH v4 16/18] ip_frag: fix typos Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 17/18] test-pmd: fix spelling errors in comments Stephen Hemminger
2021-11-12  0:02   ` [PATCH v4 18/18] test: " Stephen Hemminger
2021-11-12 11:19     ` Dumitrescu, Cristian
2021-11-12 11:35   ` [PATCH v4 00/18] fix docbook and spelling errors Ferruh Yigit
2021-11-12 12:13   ` [PATCH] ethdev: fix typos Ferruh Yigit
2021-11-15  8:32     ` Ori Kam
2021-11-15 16:46       ` Ferruh Yigit
2021-11-16 16:57   ` [PATCH v4 00/18] fix docbook and spelling errors David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).