DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-dev] [PATCH 02/18] ipsec: fix spelling errors
Date: Thu,  9 Sep 2021 10:56:32 -0700	[thread overview]
Message-ID: <20210909175648.174258-3-stephen@networkplumber.org> (raw)
In-Reply-To: <20210909175648.174258-1-stephen@networkplumber.org>

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


  parent reply	other threads:[~2021-09-09 17:57 UTC|newest]

Thread overview: 125+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-09 17:56 [dpdk-dev] [PATCH 00/18] comment " Stephen Hemminger
2021-09-09 17:56 ` [dpdk-dev] [PATCH 01/18] node: fix typos Stephen Hemminger
2021-09-09 17:56 ` Stephen Hemminger [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210909175648.174258-3-stephen@networkplumber.org \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).