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 v2 06/18] bpf: fix spelling in comments
Date: Mon, 13 Sep 2021 09:10:13 -0700
Message-ID: <20210913161025.10490-7-stephen@networkplumber.org> (raw)
In-Reply-To: <20210913161025.10490-1-stephen@networkplumber.org>

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


  parent reply	other threads:[~2021-09-13 16:11 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 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   ` Stephen Hemminger [this message]
2021-10-07 12:20     ` [dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments 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=20210913161025.10490-7-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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git