From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [dpdk-dev] [PATCH 28/30] test: fix multiple spelling errors
Date: Mon, 1 Jul 2019 11:25:34 -0700 [thread overview]
Message-ID: <20190701182536.20110-29-stephen@networkplumber.org> (raw)
In-Reply-To: <20190701182536.20110-1-stephen@networkplumber.org>
Spelling errors found by codespell.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
app/test/test_barrier.c | 2 +-
app/test/test_func_reentrancy.c | 6 +++---
app/test/test_ipsec.c | 2 +-
app/test/test_kni.c | 2 +-
app/test/test_link_bonding.c | 2 +-
app/test/test_lpm.c | 6 +++---
app/test/test_lpm6.c | 14 +++++++-------
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_ring.c | 2 +-
app/test/test_rwlock.c | 2 +-
14 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/app/test/test_barrier.c b/app/test/test_barrier.c
index 43b5f6232c6d..1ef2b6e45228 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_func_reentrancy.c b/app/test/test_func_reentrancy.c
index 99ad902a2488..4767c0cfad9a 100644
--- a/app/test/test_func_reentrancy.c
+++ b/app/test/test_func_reentrancy.c
@@ -242,7 +242,7 @@ hash_create_free(__attribute__((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(__attribute__((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(__attribute__((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 83f789508fe5..f3792c2ade23 100644
--- a/app/test/test_ipsec.c
+++ b/app/test/test_ipsec.c
@@ -650,7 +650,7 @@ create_crypto_session(struct ipsec_unitest_params *ut,
if (s == NULL)
return -ENOMEM;
- /* initiliaze SA crypto session for device */
+ /* initialaze 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_kni.c b/app/test/test_kni.c
index 7a65de179b17..6ea8df675e6b 100644
--- a/app/test/test_kni.c
+++ b/app/test/test_kni.c
@@ -556,7 +556,7 @@ test_kni(void)
}
closedir(dir);
- /* Initialize KNI subsytem */
+ /* Initialize KNI subsystem */
rte_kni_init(KNI_TEST_MAX_PORTS);
if (test_kni_allocate_lcores() < 0) {
diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c
index 938fafca3a95..754dede86e27 100644
--- a/app/test/test_link_bonding.c
+++ b/app/test/test_link_bonding.c
@@ -2920,7 +2920,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 e969fe05100c..88a12fba3454 100644
--- a/app/test/test_lpm.c
+++ b/app/test/test_lpm.c
@@ -173,7 +173,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);
@@ -211,7 +211,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);
@@ -249,7 +249,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 670aadb40eb3..1b788386a083 100644
--- a/app/test/test_lpm6.c
+++ b/app/test/test_lpm6.c
@@ -262,7 +262,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);
@@ -300,7 +300,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);
@@ -338,7 +338,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);
@@ -376,7 +376,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);
@@ -414,7 +414,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);
@@ -434,7 +434,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)
@@ -1739,7 +1739,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_mbuf.c b/app/test/test_mbuf.c
index 2a97afe2044a..b81ebe346b55 100644
--- a/app/test/test_mbuf.c
+++ b/app/test/test_mbuf.c
@@ -803,7 +803,7 @@ test_refcnt_mbuf(void)
tref += refcnt_lcore[slave];
if (tref != refcnt_lcore[master])
- rte_panic("refernced mbufs: %u, freed mbufs: %u\n",
+ rte_panic("referenced mbufs: %u, freed mbufs: %u\n",
tref, refcnt_lcore[master]);
rte_mempool_dump(stdout, refcnt_pool);
diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c
index 7738c73dbe72..b45b627b3fb2 100644
--- a/app/test/test_mempool.c
+++ b/app/test/test_mempool.c
@@ -561,7 +561,7 @@ test_mempool(void)
if (test_mempool_basic_ex(mp_nocache) < 0)
goto 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;
diff --git a/app/test/test_mempool_perf.c b/app/test/test_mempool_perf.c
index 4c877834e7b8..2586c69a8ec4 100644
--- a/app/test/test_mempool_perf.c
+++ b/app/test/test_mempool_perf.c
@@ -89,7 +89,7 @@ static rte_atomic32_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 4f9fc0d876f7..2b33bdd7f5ad 100644
--- a/app/test/test_pmd_perf.c
+++ b/app/test/test_pmd_perf.c
@@ -744,7 +744,7 @@ test_pmd_perf(void)
"rte_eth_dev_start: err=%d, port=%d\n",
ret, portid);
- /* always eanble promiscuous */
+ /* always enable promiscuous */
rte_eth_promiscuous_enable(portid);
lcore_conf[slave_id].portlist[num++] = portid;
diff --git a/app/test/test_ring.c b/app/test/test_ring.c
index aaf1e70ad841..7f60857dc7e4 100644
--- a/app/test/test_ring.c
+++ b/app/test/test_ring.c
@@ -655,7 +655,7 @@ test_lookup_null(void)
struct rte_ring *rlp = rte_ring_lookup("ring_not_found");
if (rlp ==NULL)
if (rte_errno != ENOENT){
- printf( "test failed to returnn error on null pointer\n");
+ printf("test failed to return error on null pointer\n");
return -1;
}
return 0;
diff --git a/app/test/test_rwlock.c b/app/test/test_rwlock.c
index 40f91759c269..2f4ff1d27462 100644
--- a/app/test/test_rwlock.c
+++ b/app/test/test_rwlock.c
@@ -461,7 +461,7 @@ try_rwlock_test_rda(void)
{
try_test_reset();
- /* start read test on all avaialble lcores */
+ /* start read test on all available lcores */
rte_eal_mp_remote_launch(try_read_lcore, NULL, CALL_MASTER);
rte_eal_mp_wait_lcore();
--
2.20.1
next prev parent reply other threads:[~2019-07-01 18:29 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 ` [dpdk-dev] [PATCH 07/30] ipsec: " Stephen Hemminger
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 ` Stephen Hemminger [this message]
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-29-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).