get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110741,
    "url": "http://patchwork.dpdk.org/api/patches/110741/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20220505173003.3242618-3-kda@semihalf.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20220505173003.3242618-3-kda@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220505173003.3242618-3-kda@semihalf.com",
    "date": "2022-05-05T17:29:54",
    "name": "[02/11] examples/l3fwd: fix scalar LPM compilation",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cff3caceb1f9b60da589736946896880333a506a",
    "submitter": {
        "id": 2179,
        "url": "http://patchwork.dpdk.org/api/people/2179/?format=api",
        "name": "Stanislaw Kardach",
        "email": "kda@semihalf.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20220505173003.3242618-3-kda@semihalf.com/mbox/",
    "series": [
        {
            "id": 22800,
            "url": "http://patchwork.dpdk.org/api/series/22800/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=22800",
            "date": "2022-05-05T17:29:52",
            "name": "Introduce support for RISC-V architecture",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/22800/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/110741/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/110741/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 4BB88A00C2;\n\tThu,  5 May 2022 19:30:41 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 2BA4942836;\n\tThu,  5 May 2022 19:30:30 +0200 (CEST)",
            "from mail-lf1-f44.google.com (mail-lf1-f44.google.com\n [209.85.167.44]) by mails.dpdk.org (Postfix) with ESMTP id 15D0542824\n for <dev@dpdk.org>; Thu,  5 May 2022 19:30:28 +0200 (CEST)",
            "by mail-lf1-f44.google.com with SMTP id h29so8639066lfj.2\n for <dev@dpdk.org>; Thu, 05 May 2022 10:30:28 -0700 (PDT)",
            "from localhost.localdomain (89-73-146-138.dynamic.chello.pl.\n [89.73.146.138]) by smtp.gmail.com with ESMTPSA id\n z26-20020ac25dfa000000b0047255d21203sm289640lfq.306.2022.05.05.10.30.26\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 05 May 2022 10:30:27 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=semihalf-com.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=nYL6pNCthM4VSQpF6G0XvpFSHAYdyD8kms9UXfuP2kw=;\n b=lCH/UOx16E2eTQlC3CkGrqtu3vOJthIG5C8G8qPqAo+KwR31SaxBBsqKCATSkomLax\n BMNXL79zrpDAEBygy5gYWadF6RLqpsQA2GBXHMRmc1xJ+qH4q1wEXXhlTS6BBMwdknS0\n Xz1FeQZ0Y5NfC8a7+UEgwb0Z9KjTeHT9qP035l9FdzjLC/dPGMeaK1SkVzfRamZ1xFBx\n xjqL4t7EGQDz8OtbD+Z9k8pMOsNYKXFMIuTw3GBSu2nHPLhiVBrcujJIELQfZ31wTmHI\n bR1z2okO7jG/zgnFLtACNEyBX//+MCJifnHWmjtYAlo6EGLQqDvcgYi3SE5TJJtVY/Jp\n sA6g==",
        "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=nYL6pNCthM4VSQpF6G0XvpFSHAYdyD8kms9UXfuP2kw=;\n b=6rHWQIrWmcTxBa7jAx5XMmZllnfAdBzuQFOyCV985TuYRru7TjLDYOJM6Rkeefeokv\n UOVOSUKXS+BwWWMjar65iJLD6WxUn/UCQJ5fPRKCi67pUfXiy/07yQosdboqcReeQXJN\n 812sFc+V6O241QumFUV5td2xXeGKYgELWh8CJ69eihB3M4G+1cLLH/mxbOBVXI+rjguT\n 5Zfly0GAbe2POwxOrOxHQPWqODZ3S2kvOiXbPx2iaQs7Wo3IEXmg0epFnLJXkS/272Ym\n gh5VvlLErxbvbs4DjNQrs+MLX/CaJ8pQ8p0Ft+sT4HlEQu5UYPF3R4LYofMpLICYq8Tr\n SKeg==",
        "X-Gm-Message-State": "AOAM530UpqYbTh8ANzO0l6LcyuD73bBpBOT/y4HTX+FkB/klQg5CBNAx\n 9mU9yhw1EZhOhxs7CNsmSHt2I6r0JxQYSw==",
        "X-Google-Smtp-Source": "\n ABdhPJyza+Anz0ZfIOdnQpzp53CU1aihVFGYzQs26Wv2GIdVsNW5VJ+joU+xoiVNsdmlg+6oXvoPzA==",
        "X-Received": "by 2002:a05:6512:448:b0:472:3c0e:cf7f with SMTP id\n y8-20020a056512044800b004723c0ecf7fmr19043976lfk.279.1651771827716;\n Thu, 05 May 2022 10:30:27 -0700 (PDT)",
        "From": "Stanislaw Kardach <kda@semihalf.com>",
        "To": "dev@dpdk.org",
        "Cc": "Stanislaw Kardach <kda@semihalf.com>,\n Frank Zhao <Frank.Zhao@starfivetech.com>, Sam Grove <sam.grove@sifive.com>,\n mw@semihalf.com, upstream@semihalf.com, pbhagavatula@marvell.com",
        "Subject": "[PATCH 02/11] examples/l3fwd: fix scalar LPM compilation",
        "Date": "Thu,  5 May 2022 19:29:54 +0200",
        "Message-Id": "<20220505173003.3242618-3-kda@semihalf.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20220505173003.3242618-1-kda@semihalf.com>",
        "References": "<20220505173003.3242618-1-kda@semihalf.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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"
    },
    "content": "The lpm_process_event_pkt() can either process a packet using an\narchitecture specific (defined for X86/SSE, ARM/Neon and PPC64/Altivec)\npath or a scalar one. The choice is however done using an ifdef\npre-processor macro. Because of that the scalar version was apparently\nnot widely excersized/compiled.\nDue to some copy/paste errors, the scalar logic in\nlpm_process_event_pkt() retained a \"continue\" statement where a BAD_PORT\nshould be returned after refactoring of the LPM logic in the l3fwd\nexample.\n\nFixes: 99fc91d18082 (\"examples/l3fwd: add event lpm main loop\")\nCc: pbhagavatula@marvell.com\n\nSigned-off-by: Stanislaw Kardach <kda@semihalf.com>\nSponsored-by: Frank Zhao <Frank.Zhao@starfivetech.com>\nSponsored-by: Sam Grove <sam.grove@sifive.com>\n---\n examples/l3fwd/l3fwd_lpm.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/examples/l3fwd/l3fwd_lpm.c b/examples/l3fwd/l3fwd_lpm.c\nindex bec22c44cd..6e1defbf7f 100644\n--- a/examples/l3fwd/l3fwd_lpm.c\n+++ b/examples/l3fwd/l3fwd_lpm.c\n@@ -248,7 +248,7 @@ lpm_process_event_pkt(const struct lcore_conf *lconf, struct rte_mbuf *mbuf)\n \t\tif (is_valid_ipv4_pkt(ipv4_hdr, mbuf->pkt_len)\n \t\t\t\t< 0) {\n \t\t\tmbuf->port = BAD_PORT;\n-\t\t\tcontinue;\n+\t\t\treturn mbuf->port;\n \t\t}\n \t\t/* Update time to live and header checksum */\n \t\t--(ipv4_hdr->time_to_live);\n",
    "prefixes": [
        "02/11"
    ]
}