get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 66991,
    "url": "https://patches.dpdk.org/api/patches/66991/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200323071759.13075-4-qi.z.zhang@intel.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": "<20200323071759.13075-4-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200323071759.13075-4-qi.z.zhang@intel.com",
    "date": "2020-03-23T07:17:26",
    "name": "[v2,03/36] net/ice/base: fix removing MAC rule",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "cbea6c2600014ac6207a2392fe39cee031a24413",
    "submitter": {
        "id": 504,
        "url": "https://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "delegate": {
        "id": 31221,
        "url": "https://patches.dpdk.org/api/users/31221/?format=api",
        "username": "yexl",
        "first_name": "xiaolong",
        "last_name": "ye",
        "email": "xiaolong.ye@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200323071759.13075-4-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 9004,
            "url": "https://patches.dpdk.org/api/series/9004/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=9004",
            "date": "2020-03-23T07:17:23",
            "name": "update ice base code",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/9004/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/66991/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/66991/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 F3FC7A0563;\n\tMon, 23 Mar 2020 08:15:08 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id F14AC1C06A;\n\tMon, 23 Mar 2020 08:14:49 +0100 (CET)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id 0B2441C02E;\n Mon, 23 Mar 2020 08:14:39 +0100 (CET)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Mar 2020 00:14:39 -0700",
            "from dpdk51.sh.intel.com ([10.67.110.245])\n by orsmga003.jf.intel.com with ESMTP; 23 Mar 2020 00:14:37 -0700"
        ],
        "IronPort-SDR": [
            "\n 7jEq5KKLrM14ic5qiuV5ExwQ/3j9za65O3WLUeKEeyGJ9UagFvYG/kVihFtbsK+hWYhOlJHKIl\n nMBOyonZ/01Q==",
            "\n KcZSyG+93kpuzH1QIrAYOXaBpgJQ9GNYsBO3IDWZdN/xO5qqtnWpfCA3g+dS2sk2bHqxFcTPNg\n hvqAJqEUSm4Q=="
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.72,295,1580803200\"; d=\"scan'208\";a=\"246111490\"",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "qiming.yang@intel.com",
        "Cc": "dev@dpdk.org, xiaolong.ye@intel.com, Qi Zhang <qi.z.zhang@intel.com>,\n stable@dpdk.org, Michal Swiatkowski <michal.swiatkowski@intel.com>,\n Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>",
        "Date": "Mon, 23 Mar 2020 15:17:26 +0800",
        "Message-Id": "<20200323071759.13075-4-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20200323071759.13075-1-qi.z.zhang@intel.com>",
        "References": "<20200309114357.31800-1-qi.z.zhang@intel.com>\n <20200323071759.13075-1-qi.z.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 03/36] net/ice/base: fix removing MAC rule",
        "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": "Send correct recp_list to ice_remove_mac_rule. ICE_SW_LKUP_ETHERTYPE\nrule list was sent instead of ICE_SW_LKUP_MAC. That caused problem\nwith adding new mac rule on VF, because rule wasn't removed correctly.\n\nFixes: c7dd15931183 (\"net/ice/base: add virtual switch code\")\nCc: stable@dpdk.org\n\nSigned-off-by: Michal Swiatkowski <michal.swiatkowski@intel.com>\nSigned-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/ice/base/ice_switch.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c\nindex e88d0f7fe..57b50085d 100644\n--- a/drivers/net/ice/base/ice_switch.c\n+++ b/drivers/net/ice/base/ice_switch.c\n@@ -4398,7 +4398,7 @@ ice_remove_vsi_lkup_fltr(struct ice_hw *hw, u16 vsi_handle,\n \n \tswitch (lkup) {\n \tcase ICE_SW_LKUP_MAC:\n-\t\tice_remove_mac_rule(hw, &remove_list_head, recp_list);\n+\t\tice_remove_mac_rule(hw, &remove_list_head, &recp_list[lkup]);\n \t\tbreak;\n \tcase ICE_SW_LKUP_VLAN:\n \t\tice_remove_vlan(hw, &remove_list_head);\n",
    "prefixes": [
        "v2",
        "03/36"
    ]
}