get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56465,
    "url": "http://patches.dpdk.org/api/patches/56465/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1563242909-62810-1-git-send-email-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": "<1563242909-62810-1-git-send-email-wei.zhao1@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1563242909-62810-1-git-send-email-wei.zhao1@intel.com",
    "date": "2019-07-16T02:08:29",
    "name": "[v2] net/ice: fix item number when pattern has ETH",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "50e4528d1d56b8fd973bd0c4d3b328736288a411",
    "submitter": {
        "id": 495,
        "url": "http://patches.dpdk.org/api/people/495/?format=api",
        "name": "Zhao1, Wei",
        "email": "wei.zhao1@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1563242909-62810-1-git-send-email-wei.zhao1@intel.com/mbox/",
    "series": [
        {
            "id": 5505,
            "url": "http://patches.dpdk.org/api/series/5505/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5505",
            "date": "2019-07-16T02:08:29",
            "name": "[v2] net/ice: fix item number when pattern has ETH",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/5505/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/56465/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/56465/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4516E2BF5;\n\tTue, 16 Jul 2019 04:39:29 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 14CA82082\n\tfor <dev@dpdk.org>; Tue, 16 Jul 2019 04:39:26 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t15 Jul 2019 19:39:25 -0700",
            "from dpdk6.bj.intel.com ([172.16.182.192])\n\tby orsmga003.jf.intel.com with ESMTP; 15 Jul 2019 19:39:24 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.63,496,1557212400\"; d=\"scan'208\";a=\"169794005\"",
        "From": "Wei Zhao <wei.zhao1@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qi.z.zhang@intel.com,\n\twei zhao <wei.zhao1@intel.com>",
        "Date": "Tue, 16 Jul 2019 10:08:29 +0800",
        "Message-Id": "<1563242909-62810-1-git-send-email-wei.zhao1@intel.com>",
        "X-Mailer": "git-send-email 2.7.5",
        "In-Reply-To": "<1563181362-29513-1-git-send-email-wei.zhao1@intel.com>",
        "References": "<1563181362-29513-1-git-send-email-wei.zhao1@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2] net/ice: fix item number when pattern has ETH",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When pattern has ETH, maybe it will contain\nMAC and ethertype two kinds of lookup parameters,\nso add more item number for memory malloc in order\nto reserve one more memory slot for ETH which may\nconsume 2 lookup items.\n\nFixes: 24dc00c30907 (\"net/ice: enable switch filter\")\nSigned-off-by: wei zhao <wei.zhao1@intel.com>\n---\n drivers/net/ice/ice_switch_filter.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex 5424223..6ec50fb 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -435,6 +435,8 @@ ice_create_switch_filter(struct ice_pf *pf,\n \t\t\ttun_type = ICE_SW_TUN_VXLAN;\n \t\tif (item->type == RTE_FLOW_ITEM_TYPE_NVGRE)\n \t\t\ttun_type = ICE_SW_TUN_NVGRE;\n+\t\tif (item->type == RTE_FLOW_ITEM_TYPE_ETH)\n+\t\t\titem_num++;\n \t}\n \trule_info.tun_type = tun_type;\n \n",
    "prefixes": [
        "v2"
    ]
}