get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 66625,
    "url": "http://patches.dpdk.org/api/patches/66625/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200313020806.21654-6-wei.zhao1@intel.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": "<20200313020806.21654-6-wei.zhao1@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200313020806.21654-6-wei.zhao1@intel.com",
    "date": "2020-03-13T02:08:04",
    "name": "[5/7] net/ice: change default tunnle type",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4b8e193151186b5286204e09aceed1f80d4d5ef3",
    "submitter": {
        "id": 495,
        "url": "http://patches.dpdk.org/api/people/495/?format=api",
        "name": "Zhao1, Wei",
        "email": "wei.zhao1@intel.com"
    },
    "delegate": {
        "id": 31221,
        "url": "http://patches.dpdk.org/api/users/31221/?format=api",
        "username": "yexl",
        "first_name": "xiaolong",
        "last_name": "ye",
        "email": "xiaolong.ye@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200313020806.21654-6-wei.zhao1@intel.com/mbox/",
    "series": [
        {
            "id": 8900,
            "url": "http://patches.dpdk.org/api/series/8900/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8900",
            "date": "2020-03-13T02:07:59",
            "name": "add switch filter support for intel DCF",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8900/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/66625/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/66625/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 3E3F0A0567;\n\tFri, 13 Mar 2020 03:29:36 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9317B1C0AD;\n\tFri, 13 Mar 2020 03:28:53 +0100 (CET)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id E66FF1C068;\n Fri, 13 Mar 2020 03:28:49 +0100 (CET)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 12 Mar 2020 19:28:50 -0700",
            "from unknown (HELO localhost.localdomain.bj.intel.com)\n ([172.16.182.123])\n by fmsmga004.fm.intel.com with ESMTP; 12 Mar 2020 19:28:48 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.70,546,1574150400\"; d=\"scan'208\";a=\"266587193\"",
        "From": "Wei Zhao <wei.zhao1@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qi.z.zhang@intel.com, xiaolong.ye@intel.com, stable@dpdk.org,\n Wei Zhao <wei.zhao1@intel.com>",
        "Date": "Fri, 13 Mar 2020 10:08:04 +0800",
        "Message-Id": "<20200313020806.21654-6-wei.zhao1@intel.com>",
        "X-Mailer": "git-send-email 2.19.1",
        "In-Reply-To": "<20200313020806.21654-1-wei.zhao1@intel.com>",
        "References": "<20200313020806.21654-1-wei.zhao1@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 5/7] net/ice: change default tunnle type",
        "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": "The default tunnle type for swicth filter change to new\ndefination of ICE_SW_TUN_AND_NON_TUN in order that the rule\nwill be apply to more packet type.\n\nCc: stable@dpdk.org\nFixes: 47d460d63233 (\"net/ice: rework switch filter\")\n\nSigned-off-by: Wei Zhao <wei.zhao1@intel.com>\n---\n drivers/net/ice/ice_switch_filter.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex 20d0577b5..7ca922602 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -1097,7 +1097,8 @@ ice_switch_parse_pattern_action(struct ice_adapter *ad,\n \tuint16_t lkups_num = 0;\n \tconst struct rte_flow_item *item = pattern;\n \tuint16_t item_num = 0;\n-\tenum ice_sw_tunnel_type tun_type = ICE_NON_TUN;\n+\tenum ice_sw_tunnel_type tun_type =\n+\t\tICE_SW_TUN_AND_NON_TUN;\n \tstruct ice_pattern_match_item *pattern_match_item = NULL;\n \n \tfor (; item->type != RTE_FLOW_ITEM_TYPE_END; item++) {\n",
    "prefixes": [
        "5/7"
    ]
}