get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 89962,
    "url": "http://patches.dpdk.org/api/patches/89962/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1616830818-3127-3-git-send-email-humin29@huawei.com/",
    "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": "<1616830818-3127-3-git-send-email-humin29@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1616830818-3127-3-git-send-email-humin29@huawei.com",
    "date": "2021-03-27T07:40:17",
    "name": "[2/3] examples/l2fwd-cat: fix check of port and core",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ead830dbc4300f816e65755d52846ef5ce478508",
    "submitter": {
        "id": 1944,
        "url": "http://patches.dpdk.org/api/people/1944/?format=api",
        "name": "humin (Q)",
        "email": "humin29@huawei.com"
    },
    "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/1616830818-3127-3-git-send-email-humin29@huawei.com/mbox/",
    "series": [
        {
            "id": 15923,
            "url": "http://patches.dpdk.org/api/series/15923/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=15923",
            "date": "2021-03-27T07:40:18",
            "name": "fix check of port and core",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/15923/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/89962/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/89962/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 7F723A0A02;\n\tSat, 27 Mar 2021 08:40:02 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B2FCE140DC0;\n\tSat, 27 Mar 2021 08:39:58 +0100 (CET)",
            "from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191])\n by mails.dpdk.org (Postfix) with ESMTP id A1EE440686\n for <dev@dpdk.org>; Sat, 27 Mar 2021 08:39:55 +0100 (CET)",
            "from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.60])\n by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F6rJv6zBrzPnWT\n for <dev@dpdk.org>; Sat, 27 Mar 2021 15:37:19 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id\n 14.3.498.0; Sat, 27 Mar 2021 15:39:51 +0800"
        ],
        "From": "\"Min Hu (Connor)\" <humin29@huawei.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<ferruh.yigit@intel.com>, <bernard.iremonger@intel.com>,\n <tomasz.kantecki@intel.com>, <bruce.richardson@intel.com>",
        "Date": "Sat, 27 Mar 2021 15:40:17 +0800",
        "Message-ID": "<1616830818-3127-3-git-send-email-humin29@huawei.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1616830818-3127-1-git-send-email-humin29@huawei.com>",
        "References": "<1616830818-3127-1-git-send-email-humin29@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-CFilter-Loop": "Reflected",
        "Subject": "[dpdk-dev] [PATCH 2/3] examples/l2fwd-cat: fix check of port and\n core",
        "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": "fix check of port and core in l2fwd-cat example.\n\nFixes: f6baccbc2b3b (\"examples/l2fwd-cat: add sample application for PQoS CAT and CDP\")\nCc: stable@dpdk.org\n\nSigned-off-by: Min Hu (Connor) <humin29@huawei.com>\n---\n examples/l2fwd-cat/l2fwd-cat.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/examples/l2fwd-cat/l2fwd-cat.c b/examples/l2fwd-cat/l2fwd-cat.c\nindex 2e632c5..2e74404 100644\n--- a/examples/l2fwd-cat/l2fwd-cat.c\n+++ b/examples/l2fwd-cat/l2fwd-cat.c\n@@ -107,7 +107,7 @@ lcore_main(void)\n \t * for best performance.\n \t */\n \tRTE_ETH_FOREACH_DEV(port)\n-\t\tif (rte_eth_dev_socket_id(port) > 0 &&\n+\t\tif (rte_eth_dev_socket_id(port) >= 0 &&\n \t\t\t\trte_eth_dev_socket_id(port) !=\n \t\t\t\t\t\t(int)rte_socket_id())\n \t\t\tprintf(\"WARNING, port %u is on remote NUMA node to \"\n",
    "prefixes": [
        "2/3"
    ]
}