get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 112193,
    "url": "https://patches.dpdk.org/api/patches/112193/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220601063949.43202-3-humin29@huawei.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": "<20220601063949.43202-3-humin29@huawei.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220601063949.43202-3-humin29@huawei.com",
    "date": "2022-06-01T06:39:49",
    "name": "[v4,2/2] ethdev: document default and non-default MAC address",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a1dd6fcee4cc71a5eda1e790d0dc9431e003f3ca",
    "submitter": {
        "id": 1944,
        "url": "https://patches.dpdk.org/api/people/1944/?format=api",
        "name": "humin (Q)",
        "email": "humin29@huawei.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220601063949.43202-3-humin29@huawei.com/mbox/",
    "series": [
        {
            "id": 22933,
            "url": "https://patches.dpdk.org/api/series/22933/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22933",
            "date": "2022-05-14T02:00:47",
            "name": "ethdev: fix MAC addrs list",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/22933/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/112193/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/112193/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 B9F58A054F;\n\tWed,  1 Jun 2022 08:41:11 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5B3D140694;\n\tWed,  1 Jun 2022 08:41:11 +0200 (CEST)",
            "from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255])\n by mails.dpdk.org (Postfix) with ESMTP id 1F83440689\n for <dev@dpdk.org>; Wed,  1 Jun 2022 08:41:10 +0200 (CEST)",
            "from kwepemi500012.china.huawei.com (unknown [172.30.72.53])\n by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4LCfdD5h3Xz1K96T\n for <dev@dpdk.org>; Wed,  1 Jun 2022 14:39:28 +0800 (CST)",
            "from localhost.localdomain (10.69.192.56) by\n kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2375.24; Wed, 1 Jun 2022 14:41:07 +0800"
        ],
        "From": "\"Min Hu (Connor)\" <humin29@huawei.com>",
        "To": "<dev@dpdk.org>",
        "Subject": "[PATCH v4 2/2] ethdev: document default and non-default MAC address",
        "Date": "Wed, 1 Jun 2022 14:39:49 +0800",
        "Message-ID": "<20220601063949.43202-3-humin29@huawei.com>",
        "X-Mailer": "git-send-email 2.33.0",
        "In-Reply-To": "<20220601063949.43202-1-humin29@huawei.com>",
        "References": "<20220514020049.57294-1-humin29@huawei.com>\n <20220601063949.43202-1-humin29@huawei.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Originating-IP": "[10.69.192.56]",
        "X-ClientProxiedBy": "dggems702-chm.china.huawei.com (10.3.19.179) To\n kwepemi500012.china.huawei.com (7.221.188.12)",
        "X-CFilter-Loop": "Reflected",
        "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": "From: Huisong Li <lihuisong@huawei.com>\n\nThe rte_eth_dev_data::mac_addrs is a MAC address array. The index zero of\nthis array is as the default address index, and other indexes can't be the\nsame as the address corresponding to index 0. If we break it, may cause\nfollowing problems:\n1) waste of MAC address spaces.\n2) a fake MAC address in the MAC list, isn't in hardware MAC entries.\n3) a MAC address is assigned to diffent pool.\n\nSigned-off-by: Huisong Li <lihuisong@huawei.com>\nSigned-off-by: Min Hu <humin29@huawei.com>\n---\n lib/ethdev/ethdev_driver.h | 7 ++++++-\n 1 file changed, 6 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/lib/ethdev/ethdev_driver.h b/lib/ethdev/ethdev_driver.h\nindex 69d9dc21d8..d49e9138c6 100644\n--- a/lib/ethdev/ethdev_driver.h\n+++ b/lib/ethdev/ethdev_driver.h\n@@ -115,7 +115,12 @@ struct rte_eth_dev_data {\n \n \tuint64_t rx_mbuf_alloc_failed; /**< Rx ring mbuf allocation failures */\n \n-\t/** Device Ethernet link address. @see rte_eth_dev_release_port() */\n+\t/**\n+\t * Device Ethernet link address. The index zero of the array is as the\n+\t * index of the default address, and other indexes can't be the same\n+\t * as the address corresponding to index 0.\n+\t * @see rte_eth_dev_release_port()\n+\t */\n \tstruct rte_ether_addr *mac_addrs;\n \t/** Bitmap associating MAC addresses to pools */\n \tuint64_t mac_pool_sel[RTE_ETH_NUM_RECEIVE_MAC_ADDR];\n",
    "prefixes": [
        "v4",
        "2/2"
    ]
}