get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 82256,
    "url": "http://patchwork.dpdk.org/api/patches/82256/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20201027012328.30744-1-haiyue.wang@intel.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": "<20201027012328.30744-1-haiyue.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201027012328.30744-1-haiyue.wang@intel.com",
    "date": "2020-10-27T01:23:28",
    "name": "[v4] net/ice: rename the dynamic mbuf name",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5a91b95961cc3694676520f208b5f610491c59eb",
    "submitter": {
        "id": 1044,
        "url": "http://patchwork.dpdk.org/api/people/1044/?format=api",
        "name": "Wang, Haiyue",
        "email": "haiyue.wang@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patchwork.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20201027012328.30744-1-haiyue.wang@intel.com/mbox/",
    "series": [
        {
            "id": 13349,
            "url": "http://patchwork.dpdk.org/api/series/13349/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=13349",
            "date": "2020-10-27T01:23:28",
            "name": "[v4] net/ice: rename the dynamic mbuf name",
            "version": 4,
            "mbox": "http://patchwork.dpdk.org/series/13349/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/82256/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/82256/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A9037A04B5;\n\tTue, 27 Oct 2020 02:36:12 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 88AB02BAF;\n\tTue, 27 Oct 2020 02:36:11 +0100 (CET)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id 0722D100C\n for <dev@dpdk.org>; Tue, 27 Oct 2020 02:36:08 +0100 (CET)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 26 Oct 2020 18:36:06 -0700",
            "from npg-dpdk-haiyue-3.sh.intel.com ([10.67.118.151])\n by orsmga004.jf.intel.com with ESMTP; 26 Oct 2020 18:36:04 -0700"
        ],
        "IronPort-SDR": [
            "\n pvHmw8UN8kezWm8+mj6AzcAcxDsGIt1Ecd/p0Ae0aoWc7S9BhvjsjcroELkCSKhikmMjtpoby9\n reSrQqT1kLJQ==",
            "\n XreMf7FGUxn9178w4tbzihbsVX5R/G+hqKxnZhJm8vQ9JWrqO0odqiXmjtHURq86mWpBpc9wMV\n BZuMx6pu4+VQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9786\"; a=\"147867237\"",
            "E=Sophos;i=\"5.77,422,1596524400\"; d=\"scan'208\";a=\"147867237\"",
            "E=Sophos;i=\"5.77,422,1596524400\"; d=\"scan'208\";a=\"468124209\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Haiyue Wang <haiyue.wang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "ferruh.yigit@intel.com, jia.guo@intel.com, qi.z.zhang@intel.com,\n zhaoyan.chen@intel.com, olivier.matz@6wind.com,\n Haiyue Wang <haiyue.wang@intel.com>, Qiming Yang <qiming.yang@intel.com>",
        "Date": "Tue, 27 Oct 2020 09:23:28 +0800",
        "Message-Id": "<20201027012328.30744-1-haiyue.wang@intel.com>",
        "X-Mailer": "git-send-email 2.29.0",
        "In-Reply-To": "<20201025071352.221953-1-haiyue.wang@intel.com>",
        "References": "<20201025071352.221953-1-haiyue.wang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4] net/ice: rename the dynamic mbuf name",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "Rename the dynamic mbuf name to 'intel_pmd_xxx' format, so that the\nIntel PMD which has the protocol extraction feature will share the\nsame dynamic field/flags space in mbuf.\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\n---\nv4: \"who register, who use\", even the PMD has the duplicated code with\n    different name space, the defined API will help the application to\n    focus on the function itself that the PMD provides.\n\nv3: Fix 'regiser' typo in commit message.\n\nv2: update the commit message, doc; and add the error handling for\n    dynamic mbuf lookup. Also keep the metadata format defination.\n---\n drivers/net/ice/ice_ethdev.c | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex 3483f99897..d51f3faba4 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -33,7 +33,7 @@ static const char * const ice_valid_args[] = {\n };\n \n static const struct rte_mbuf_dynfield ice_proto_xtr_metadata_param = {\n-\t.name = \"ice_dynfield_proto_xtr_metadata\",\n+\t.name = \"intel_pmd_dynfield_proto_xtr_metadata\",\n \t.size = sizeof(uint32_t),\n \t.align = __alignof__(uint32_t),\n \t.flags = 0,\n@@ -49,22 +49,22 @@ static bool ice_proto_xtr_hw_support[PROTO_XTR_MAX];\n \n static struct proto_xtr_ol_flag ice_proto_xtr_ol_flag_params[] = {\n \t[PROTO_XTR_VLAN] = {\n-\t\t.param = { .name = \"ice_dynflag_proto_xtr_vlan\" },\n+\t\t.param = { .name = \"intel_pmd_dynflag_proto_xtr_vlan\" },\n \t\t.ol_flag = &rte_net_ice_dynflag_proto_xtr_vlan_mask },\n \t[PROTO_XTR_IPV4] = {\n-\t\t.param = { .name = \"ice_dynflag_proto_xtr_ipv4\" },\n+\t\t.param = { .name = \"intel_pmd_dynflag_proto_xtr_ipv4\" },\n \t\t.ol_flag = &rte_net_ice_dynflag_proto_xtr_ipv4_mask },\n \t[PROTO_XTR_IPV6] = {\n-\t\t.param = { .name = \"ice_dynflag_proto_xtr_ipv6\" },\n+\t\t.param = { .name = \"intel_pmd_dynflag_proto_xtr_ipv6\" },\n \t\t.ol_flag = &rte_net_ice_dynflag_proto_xtr_ipv6_mask },\n \t[PROTO_XTR_IPV6_FLOW] = {\n-\t\t.param = { .name = \"ice_dynflag_proto_xtr_ipv6_flow\" },\n+\t\t.param = { .name = \"intel_pmd_dynflag_proto_xtr_ipv6_flow\" },\n \t\t.ol_flag = &rte_net_ice_dynflag_proto_xtr_ipv6_flow_mask },\n \t[PROTO_XTR_TCP] = {\n-\t\t.param = { .name = \"ice_dynflag_proto_xtr_tcp\" },\n+\t\t.param = { .name = \"intel_pmd_dynflag_proto_xtr_tcp\" },\n \t\t.ol_flag = &rte_net_ice_dynflag_proto_xtr_tcp_mask },\n \t[PROTO_XTR_IP_OFFSET] = {\n-\t\t.param = { .name = \"ice_dynflag_proto_xtr_ip_offset\" },\n+\t\t.param = { .name = \"intel_pmd_dynflag_proto_xtr_ip_offset\" },\n \t\t.ol_flag = &rte_net_ice_dynflag_proto_xtr_ip_offset_mask },\n };\n \n",
    "prefixes": [
        "v4"
    ]
}