get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 94887,
    "url": "https://patches.dpdk.org/api/patches/94887/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210628090834.71199-1-winsome8282@163.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20210628090834.71199-1-winsome8282@163.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210628090834.71199-1-winsome8282@163.com",
    "date": "2021-06-28T09:08:35",
    "name": "fix l2fwd --no-mac-updating not working issue",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "3d294853e6f42ea6740bfe1d627a74e884e70038",
    "submitter": {
        "id": 2271,
        "url": "https://patches.dpdk.org/api/people/2271/?format=api",
        "name": "RickZhong",
        "email": "winsome8282@163.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210628090834.71199-1-winsome8282@163.com/mbox/",
    "series": [
        {
            "id": 17499,
            "url": "https://patches.dpdk.org/api/series/17499/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17499",
            "date": "2021-06-28T09:08:35",
            "name": "fix l2fwd --no-mac-updating not working issue",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17499/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/94887/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/94887/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 B33CFA0C3F;\n\tMon, 28 Jun 2021 11:08:57 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 29687410F6;\n\tMon, 28 Jun 2021 11:08:57 +0200 (CEST)",
            "from m12-16.163.com (m12-16.163.com [220.181.12.16])\n by mails.dpdk.org (Postfix) with ESMTP id 37F204069F\n for <dev@dpdk.org>; Mon, 28 Jun 2021 11:08:54 +0200 (CEST)",
            "from localhost.localdomain (unknown [106.120.101.58])\n by smtp12 (Coremail) with SMTP id EMCowAAHU4ykkdlg_T6izg--.45055S2;\n Mon, 28 Jun 2021 17:08:52 +0800 (CST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com;\n s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=rZKq/\n Pf6qVjH37naCAYjP2JrCPwrU27019bD/qjfqCc=; b=S4p9nOssDUQmWMg4+9/h3\n l+s0CeIxEZEI8SA+W6pOjVm4izWD0pzjG2SAncA4qCCZTKRY7LDonTw3WumOJJSW\n wtjFDDODwicU2snADjUQzRZ6hB1pDikZJ7nP47f5CaLNIe4UT/m3e4poSRzSQKA1\n cb6XiQQzhktI9TWtZAx7ao=",
        "From": "RickZhong <winsome8282@163.com>",
        "To": "dev@dpdk.org",
        "Cc": "RickZhong <winsome8282@163.com>",
        "Date": "Mon, 28 Jun 2021 17:08:35 +0800",
        "Message-Id": "<20210628090834.71199-1-winsome8282@163.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-CM-TRANSID": "EMCowAAHU4ykkdlg_T6izg--.45055S2",
        "X-Coremail-Antispam": "1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73\n VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvj4Rm9aPUUUUU",
        "X-Originating-IP": "[106.120.101.58]",
        "X-CM-SenderInfo": "5zlq20dphyjmqs6rljoofrz/1tbiHhi-9FSIve9BmwAAsZ",
        "Subject": "[dpdk-dev] [PATCH] fix l2fwd --no-mac-updating not working issue",
        "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": "The original disable mac updating codes were removed by mistake.\n\nSigned-off-by: RickZhong <winsome8282@163.com>\n---\n examples/l2fwd/main.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c\nindex 32d405e65..69d0087dc 100644\n--- a/examples/l2fwd/main.c\n+++ b/examples/l2fwd/main.c\n@@ -491,6 +491,10 @@ l2fwd_parse_args(int argc, char **argv)\n \t\t\ttimer_period = timer_secs;\n \t\t\tbreak;\n \n+\t\t/* no-mac-updating */\n+\t\tcase 0:\n+\t\t\tbreak;\n+\n \t\t/* long options */\n \t\tcase CMD_LINE_OPT_PORTMAP_NUM:\n \t\t\tret = l2fwd_parse_port_pair_config(optarg);\n",
    "prefixes": []
}