Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/98758/?format=api
http://patches.dpdk.org/api/patches/98758/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210913161025.10490-7-stephen@networkplumber.org/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20210913161025.10490-7-stephen@networkplumber.org>", "list_archive_url": "https://inbox.dpdk.org/dev/20210913161025.10490-7-stephen@networkplumber.org", "date": "2021-09-13T16:10:13", "name": "[v2,06/18] bpf: fix spelling in comments", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "01e8df7b7fe9e663ab7de81d9d19b9a4927daf5f", "submitter": { "id": 27, "url": "http://patches.dpdk.org/api/people/27/?format=api", "name": "Stephen Hemminger", "email": "stephen@networkplumber.org" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210913161025.10490-7-stephen@networkplumber.org/mbox/", "series": [ { "id": 18877, "url": "http://patches.dpdk.org/api/series/18877/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=18877", "date": "2021-09-13T16:10:07", "name": "fix spelling errors", "version": 2, "mbox": "http://patches.dpdk.org/series/18877/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/98758/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/98758/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 06E4BA0C45;\n\tMon, 13 Sep 2021 18:11:20 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 64B1841123;\n\tMon, 13 Sep 2021 18:10:39 +0200 (CEST)", "from mail-pf1-f176.google.com (mail-pf1-f176.google.com\n [209.85.210.176])\n by mails.dpdk.org (Postfix) with ESMTP id 76BB041104\n for <dev@dpdk.org>; Mon, 13 Sep 2021 18:10:37 +0200 (CEST)", "by mail-pf1-f176.google.com with SMTP id g14so9325473pfm.1\n for <dev@dpdk.org>; Mon, 13 Sep 2021 09:10:37 -0700 (PDT)", "from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123])\n by smtp.gmail.com with ESMTPSA id i5sm7070851pjk.47.2021.09.13.09.10.35\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 13 Sep 2021 09:10:35 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=YWnzziaHjpfPA44YSeyMtHjAl3pGkFQ1zd3PspGrYfk=;\n b=UDIy6ok8a5DGAczGghmAvSFQlGMQzKPoNjELqqD7N58w3mMOffIb2vbw/jBUi3FtyM\n UVGGIhwS/XyqLOtgLghsawnT+sXdRVBVvQULG6WsbAa/bjV9vwO1CSg1MHhe1nTw84YT\n 8BlZ2Yea3p4Ofyh8u9zDAmHs/XAS5JndkTpL/9n2Du41GeJ64IsxUcblM9LUNdNlCE9n\n ljGdNeImF973rrJ9xXWpYxvBSnUHkjXIzu1XNNU5yglHGHICH6CUweVfmu5klKkMWD3t\n QGsQi3xXkgHV+y0fm6heehPTAk3arDLvxX3weUoUByyTuh+QL5MIxcWcQ1vhwYKmiTRM\n Fq8A==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=YWnzziaHjpfPA44YSeyMtHjAl3pGkFQ1zd3PspGrYfk=;\n b=uDPKL82JmQRecdj15Z+1zIr6/O0d+Jcvt3qQb2GB+cC31/caARpTvLnjQfRL4yNbbl\n y5NuECeKwF9uuNL3cvFGtzW5v38gjSvWDH1rnY9+Dq1s9yhxj2eRqkHNaCXeHFzTkeB8\n shsJ3MirZGgF139AE1SEYlMwveoMTnAiA3bwN+b9JiGUGQ+D+Z6kGAq3GWPDjawdJwQh\n W4JS4Zaxv+9/bqvjwilp51T/UpbZEgCXy3pNKyAZ62z2xMAJqOCeyILFbJ+UTO5cWg7p\n 8Fw4r2LSDRlWazV20RepkRhxV/InO7YPapDeh/o8nzVBzbYZPgeeen51JJnQ/I34Gxzh\n lrQw==", "X-Gm-Message-State": "AOAM5317dNAM2hs8fHfAj5PYnrTFdm8aasC/tiH50nV+rK5uuUFlCwly\n jdgso/+SOQXC8Hp/m5usiX2prYtcuYxzLQ==", "X-Google-Smtp-Source": "\n ABdhPJyBn+JlCzXTt6oAuhNhUdr7ETOhvmL9ygWKTclijGJx5Hhliv9cIUd88sJ9UjwcL9d83SnxYw==", "X-Received": "by 2002:a63:1717:: with SMTP id\n x23mr11819572pgl.182.1631549436251;\n Mon, 13 Sep 2021 09:10:36 -0700 (PDT)", "From": "Stephen Hemminger <stephen@networkplumber.org>", "To": "dev@dpdk.org", "Cc": "Stephen Hemminger <stephen@networkplumber.org>", "Date": "Mon, 13 Sep 2021 09:10:13 -0700", "Message-Id": "<20210913161025.10490-7-stephen@networkplumber.org>", "X-Mailer": "git-send-email 2.30.2", "In-Reply-To": "<20210913161025.10490-1-stephen@networkplumber.org>", "References": "<20210909175648.174258-1-stephen@networkplumber.org>\n <20210913161025.10490-1-stephen@networkplumber.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 06/18] bpf: fix spelling in comments", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Found by running codespell on the bpf implementation.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n lib/bpf/bpf_jit_x86.c | 2 +-\n lib/bpf/bpf_load_elf.c | 2 +-\n lib/bpf/bpf_pkt.c | 2 +-\n lib/bpf/bpf_validate.c | 8 ++++----\n 4 files changed, 7 insertions(+), 7 deletions(-)", "diff": "diff --git a/lib/bpf/bpf_jit_x86.c b/lib/bpf/bpf_jit_x86.c\nindex aa22ea78a01d..518513376a67 100644\n--- a/lib/bpf/bpf_jit_x86.c\n+++ b/lib/bpf/bpf_jit_x86.c\n@@ -1245,7 +1245,7 @@ emit_epilog(struct bpf_jit_state *st)\n \tuint32_t i;\n \tint32_t spil, ofs;\n \n-\t/* if we allready have an epilog generate a jump to it */\n+\t/* if we already have an epilog generate a jump to it */\n \tif (st->exit.num++ != 0) {\n \t\temit_abs_jmp(st, st->exit.off);\n \t\treturn;\ndiff --git a/lib/bpf/bpf_load_elf.c b/lib/bpf/bpf_load_elf.c\nindex 2b11adeb5eb1..02a5d8ba0d07 100644\n--- a/lib/bpf/bpf_load_elf.c\n+++ b/lib/bpf/bpf_load_elf.c\n@@ -80,7 +80,7 @@ resolve_xsym(const char *sn, size_t ofs, struct ebpf_insn *ins, size_t ins_sz,\n \tif (type == RTE_BPF_XTYPE_FUNC) {\n \n \t\t/* we don't support multiple functions per BPF module,\n-\t\t * so treat EBPF_PSEUDO_CALL to extrernal function\n+\t\t * so treat EBPF_PSEUDO_CALL to external function\n \t\t * as an ordinary EBPF_CALL.\n \t\t */\n \t\tif (ins[idx].src_reg == EBPF_PSEUDO_CALL) {\ndiff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c\nindex 6e8248f0d6e4..701e8e2c62a9 100644\n--- a/lib/bpf/bpf_pkt.c\n+++ b/lib/bpf/bpf_pkt.c\n@@ -169,7 +169,7 @@ bpf_eth_cbh_add(struct bpf_eth_cbh *cbh, uint16_t port, uint16_t queue)\n }\n \n /*\n- * BPF packet processing routinies.\n+ * BPF packet processing routines.\n */\n \n static inline uint32_t\ndiff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c\nindex 7b1291b382e9..eb8016ef196c 100644\n--- a/lib/bpf/bpf_validate.c\n+++ b/lib/bpf/bpf_validate.c\n@@ -1723,7 +1723,7 @@ static const struct bpf_ins_check ins_chk[UINT8_MAX + 1] = {\n \n /*\n * make sure that instruction syntax is valid,\n- * and it fields don't violate partciular instrcution type restrictions.\n+ * and its fields don't violate particular instruction type restrictions.\n */\n static const char *\n check_syntax(const struct ebpf_insn *ins)\n@@ -1954,7 +1954,7 @@ log_loop(const struct bpf_verifier *bvf)\n * First pass goes though all instructions in the set, checks that each\n * instruction is a valid one (correct syntax, valid field values, etc.)\n * and constructs control flow graph (CFG).\n- * Then deapth-first search is performed over the constructed graph.\n+ * Then depth-first search is performed over the constructed graph.\n * Programs with unreachable instructions and/or loops will be rejected.\n */\n static int\n@@ -1981,7 +1981,7 @@ validate(struct bpf_verifier *bvf)\n \n \t\t/*\n \t\t * construct CFG, jcc nodes have to outgoing edges,\n-\t\t * 'exit' nodes - none, all others nodes have exaclty one\n+\t\t * 'exit' nodes - none, all other nodes have exactly one\n \t\t * outgoing edge.\n \t\t */\n \t\tswitch (ins->code) {\n@@ -2251,7 +2251,7 @@ evaluate(struct bpf_verifier *bvf)\n \t\t\tidx = get_node_idx(bvf, node);\n \t\t\top = ins[idx].code;\n \n-\t\t\t/* for jcc node make a copy of evaluatoion state */\n+\t\t\t/* for jcc node make a copy of evaluation state */\n \t\t\tif (node->nb_edge > 1)\n \t\t\t\trc |= save_eval_state(bvf, node);\n \n", "prefixes": [ "v2", "06/18" ] }{ "id": 98758, "url": "