From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-dev] [PATCH 07/30] ipsec: fix spelling errors
Date: Mon, 1 Jul 2019 11:25:13 -0700 [thread overview]
Message-ID: <20190701182536.20110-8-stephen@networkplumber.org> (raw)
In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org>
Spelling error found by codespell
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
examples/ipsec-secgw/parser.c | 2 +-
examples/ipsec-secgw/test/linux_test4.sh | 4 ++--
examples/ipsec-secgw/test/linux_test6.sh | 4 ++--
lib/librte_ipsec/esp_inb.c | 2 +-
lib/librte_ipsec/sa.c | 2 +-
lib/librte_ipsec/sa.h | 4 ++--
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/examples/ipsec-secgw/parser.c b/examples/ipsec-secgw/parser.c
index fc8c238fe5a5..6dd3081ffcf4 100644
--- a/examples/ipsec-secgw/parser.c
+++ b/examples/ipsec-secgw/parser.c
@@ -506,7 +506,7 @@ cfg_parse_neigh(void *parsed_result, __rte_unused struct cmdline *cl,
rc = parse_mac(res->mac, &mac);
APP_CHECK(rc == 0, st, "invalid ether addr:%s", res->mac);
rc = add_dst_ethaddr(res->port, &mac);
- APP_CHECK(rc == 0, st, "invalid port numer:%hu", res->port);
+ APP_CHECK(rc == 0, st, "invalid port number:%hu", res->port);
if (st->status < 0)
return;
}
diff --git a/examples/ipsec-secgw/test/linux_test4.sh b/examples/ipsec-secgw/test/linux_test4.sh
index d636f560482d..01a2bea4050d 100644
--- a/examples/ipsec-secgw/test/linux_test4.sh
+++ b/examples/ipsec-secgw/test/linux_test4.sh
@@ -5,7 +5,7 @@
# ipsec-secgw (IPv4 mode) functional test script.
#
# Note that for most of them you required appropriate crypto PMD/device
-# to be avaialble.
+# to be available.
# Also user has to setup properly the following environment variables:
# SGW_PATH - path to the ipsec-secgw binary to test
# REMOTE_HOST - ip/hostname of the DUT
@@ -33,7 +33,7 @@
# I.E:
# DUT OS(NIC1)--(ipsec)-->(NIC1)ipsec-secgw(TAP)--(plain)-->(TAP)SUT OS
# SUT OS(TAP)--(plain)-->(TAP)psec-secgw(NIC1)--(ipsec)-->(NIC1)DUT OS
-# Then tries to perorm some data transfer using the scheme decribed above.
+# Then tries to perform some data transfer using the scheme described above.
#
DIR=`dirname $0`
diff --git a/examples/ipsec-secgw/test/linux_test6.sh b/examples/ipsec-secgw/test/linux_test6.sh
index e30f607d8c1b..66655006a336 100644
--- a/examples/ipsec-secgw/test/linux_test6.sh
+++ b/examples/ipsec-secgw/test/linux_test6.sh
@@ -5,7 +5,7 @@
# ipsec-secgw (IPv6 mode) functional test script.
#
# Note that for most of them you required appropriate crypto PMD/device
-# to be avaialble.
+# to be available.
# Also user has to setup properly the following environment variables:
# SGW_PATH - path to the ipsec-secgw binary to test
# REMOTE_HOST - ip/hostname of the DUT
@@ -34,7 +34,7 @@
# I.E:
# DUT OS(NIC1)--(ipsec)-->(NIC1)ipsec-secgw(TAP)--(plain)-->(TAP)SUT OS
# SUT OS(TAP)--(plain)-->(TAP)psec-secgw(NIC1)--(ipsec)-->(NIC1)DUT OS
-# Then tries to perorm some data transfer using the scheme decribed above.
+# Then tries to perform some data transfer using the scheme described above.
#
DIR=`dirname $0`
diff --git a/lib/librte_ipsec/esp_inb.c b/lib/librte_ipsec/esp_inb.c
index 3e12ca1030f0..7f296cd247dd 100644
--- a/lib/librte_ipsec/esp_inb.c
+++ b/lib/librte_ipsec/esp_inb.c
@@ -359,7 +359,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/librte_ipsec/sa.c b/lib/librte_ipsec/sa.c
index 81e3437bb5e4..cede034bb8af 100644
--- a/lib/librte_ipsec/sa.c
+++ b/lib/librte_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/librte_ipsec/sa.h b/lib/librte_ipsec/sa.h
index ffb5fb4f8c32..b142e61d65a4 100644
--- a/lib/librte_ipsec/sa.h
+++ b/lib/librte_ipsec/sa.h
@@ -111,8 +111,8 @@ struct rte_ipsec_sa {
* sqn and replay window
* In case of SA handled by multiple threads *sqn* cacheline
* could be shared by multiple cores.
- * To minimise perfomance impact, we try to locate in a separate
- * place from other frequently accesed data.
+ * To minimize performance impact, we try to locate in a separate
+ * place from other frequently accessed data.
*/
union {
union {
--
2.20.1
next prev parent reply other threads:[~2019-07-01 18:26 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-01 18:25 [dpdk-dev] [PATCH 00/30] fix spelling errors in comments and messages Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 01/30] lpm: fix spelling errors Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 02/30] eal/windows: fix comment about fnmatch Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 03/30] bsd/eal: fix spelling error Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 04/30] eal: fix spelling errors Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 05/30] bpf: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 06/30] power: " Stephen Hemminger
2019-07-01 18:25 ` Stephen Hemminger [this message]
2019-07-01 18:25 ` [dpdk-dev] [PATCH 08/30] acl: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 09/30] bbdev: fix spelling error Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 10/30] eventdev: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 11/30] ethdev: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 12/30] ip_frag: " Stephen Hemminger
2019-07-02 15:07 ` Trybula, ArturX
2019-07-02 15:14 ` Trybula, ArturX
2019-07-01 18:25 ` [dpdk-dev] [PATCH 13/30] examples/multi_process: fix spelling errors Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 14/30] examples/l3fwd: fix misspelling of destination Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 15/30] examples/performance-thread: fix spelling errors Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 16/30] examples/ethtool: " Stephen Hemminger
2019-07-02 15:42 ` Trybula, ArturX
2019-07-01 18:25 ` [dpdk-dev] [PATCH 17/30] examples/vmdq: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 18/30] examples/bond: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 19/30] examples/l3fwd-power: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 20/30] examples/netmap_compat: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 21/30] examples/packet_ordering: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 22/30] examples/service_cores: " Stephen Hemminger
2019-07-02 15:51 ` Trybula, ArturX
2019-07-01 18:25 ` [dpdk-dev] [PATCH 23/30] examples/vhost: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 24/30] examples/vhost_scsi: " Stephen Hemminger
2019-07-02 16:01 ` Trybula, ArturX
2019-07-01 18:25 ` [dpdk-dev] [PATCH 25/30] examples/tep_termination: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 26/30] examples/vm_power_manager: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 27/30] test-pmd: " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 28/30] test: fix multiple " Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 29/30] proc-info: fix spelling error Stephen Hemminger
2019-07-01 18:25 ` [dpdk-dev] [PATCH 30/30] test-compress-perf: fix spelling errors Stephen Hemminger
2019-07-01 18:53 ` [dpdk-dev] [PATCH 00/30] fix spelling errors in comments and messages David Marchand
2019-07-16 11:07 ` Thomas Monjalon
2019-07-31 14:11 ` Thomas Monjalon
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=20190701182536.20110-8-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).