get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/101698/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 101698,
    "url": "http://patches.dpdk.org/api/patches/101698/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211014215631.181747-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": "<20211014215631.181747-7-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211014215631.181747-7-stephen@networkplumber.org",
    "date": "2021-10-14T21:56:19",
    "name": "[v3,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/20211014215631.181747-7-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 19671,
            "url": "http://patches.dpdk.org/api/series/19671/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19671",
            "date": "2021-10-14T21:56:13",
            "name": "fix spelling errors",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/19671/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/101698/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/101698/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 1565EA0C43;\n\tThu, 14 Oct 2021 23:57:10 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8CAAC4118C;\n\tThu, 14 Oct 2021 23:56:48 +0200 (CEST)",
            "from mail-pg1-f175.google.com (mail-pg1-f175.google.com\n [209.85.215.175])\n by mails.dpdk.org (Postfix) with ESMTP id 2BC8641177\n for <dev@dpdk.org>; Thu, 14 Oct 2021 23:56:45 +0200 (CEST)",
            "by mail-pg1-f175.google.com with SMTP id d23so6742017pgh.8\n for <dev@dpdk.org>; Thu, 14 Oct 2021 14:56:45 -0700 (PDT)",
            "from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123])\n by smtp.gmail.com with ESMTPSA id h13sm3076741pgf.14.2021.10.14.14.56.42\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 14 Oct 2021 14:56:43 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20210112.gappssmtp.com; s=20210112;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=6eDQQt7mbeYFWAZZegRwu+tJ79dUHX78AmxKJN9ZSUk=;\n b=LLy4LnjQaE+0cdkudSZjulcGpkwB3CLqPQsSFRc+yoenS7dYaQvRl+J/plTiOKnR+8\n TSLGDeHAUUqt7Ls/LLRYYE1flOyE17a1PWXK1jmriTWAaNV6NGFvCt8ucevqjWCQDWUl\n cRoizsd8RPciNdlzaM6ZK2zm5OP9aQJ4zJ9pXqqxGkihfmd6J5Qpga0GObZrjeXn29mV\n 2dVCo4pxyYbD2Lvtxv28dTYdUCjjMc20DV4uHe1EU0bWAMLa7E5//hx7us9oLtv2MmhT\n tPwNwP7UifH0x9uKQIIa0szuKJ9mCoHFUR0xjZPfnfDni4ABLUsqHwiwwF8nzsv/2ijc\n VvzA==",
        "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=6eDQQt7mbeYFWAZZegRwu+tJ79dUHX78AmxKJN9ZSUk=;\n b=SNhOId+4JMZR8O4cy8USr9VAALhQswnBwR+66UgGSqTtkd2zIyklAFKTx5UC2RNLyw\n jvefbTXAwiiFMdeeGmnSFJLPsUOQ969OH7yFnL5xkm4G1IGFjlZoG+aXaxZY2lcuGO1b\n +iC/mOf5T46hNNm2uBKuUP0Mf27uuh/IM1ELkiskh0FslMfOxJUiiJ0CNQmQraEp7jSk\n XnI8GSdT4T7U6nDMNHoFGr2V5gx6GmCNOXt+i9ByJ1k0iU7dlMPg5C8wY34QMWacfZhE\n 2mBLwJ8pbbT/tvHsHg5zuQUW/t/VtjMLFP0QjJ/BzxqHjZswXgF4Hj/W40/54ojURk+H\n 42Bw==",
        "X-Gm-Message-State": "AOAM532Fua+oXSky4EbPrrpUDWCKm9lapqC8oDYTgwShRrZic1CEErtA\n tq6YDio7MNZHqCB+i6hBZ0mSXNNLHMY+uw==",
        "X-Google-Smtp-Source": "\n ABdhPJyuqVLg1Hc75SucNKmKiSaSYSuDcI0SXCLhwq7/UAsIbGMu3/YJDSyUQyZEDijjcX2abigSoQ==",
        "X-Received": "by 2002:a65:6215:: with SMTP id d21mr6304213pgv.62.1634248603986;\n Thu, 14 Oct 2021 14:56:43 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Konstantin Ananyev <konstantin.ananyev@intel.com>",
        "Date": "Thu, 14 Oct 2021 14:56:19 -0700",
        "Message-Id": "<20211014215631.181747-7-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20211014215631.181747-1-stephen@networkplumber.org>",
        "References": "<20210909175648.174258-1-stephen@networkplumber.org>\n <20211014215631.181747-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 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>\nAcked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\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": [
        "v3",
        "06/18"
    ]
}