get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55017,
    "url": "http://patches.dpdk.org/api/patches/55017/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190619151846.113820-28-leyi.rong@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": "<20190619151846.113820-28-leyi.rong@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190619151846.113820-28-leyi.rong@intel.com",
    "date": "2019-06-19T15:18:04",
    "name": "[v3,27/69] net/ice/base: make FDID available for FlexDescriptor",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0837724923cd86e85a0363ae34806b5e1a3c7fc4",
    "submitter": {
        "id": 1204,
        "url": "http://patches.dpdk.org/api/people/1204/?format=api",
        "name": "Leyi Rong",
        "email": "leyi.rong@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/20190619151846.113820-28-leyi.rong@intel.com/mbox/",
    "series": [
        {
            "id": 5083,
            "url": "http://patches.dpdk.org/api/series/5083/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5083",
            "date": "2019-06-19T15:17:37",
            "name": "shared code update",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/5083/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/55017/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/55017/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 E178D1C536;\n\tWed, 19 Jun 2019 17:21:16 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 7EFE51C49B\n\tfor <dev@dpdk.org>; Wed, 19 Jun 2019 17:20:47 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n\tby orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t19 Jun 2019 08:20:47 -0700",
            "from lrong-srv-03.sh.intel.com ([10.67.119.177])\n\tby orsmga006.jf.intel.com with ESMTP; 19 Jun 2019 08:20:46 -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,392,1557212400\"; d=\"scan'208\";a=\"165050355\"",
        "From": "Leyi Rong <leyi.rong@intel.com>",
        "To": "qi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org, Leyi Rong <leyi.rong@intel.com>,\n\tHenry Tieman <henry.w.tieman@intel.com>,\n\tPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>",
        "Date": "Wed, 19 Jun 2019 23:18:04 +0800",
        "Message-Id": "<20190619151846.113820-28-leyi.rong@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190619151846.113820-1-leyi.rong@intel.com>",
        "References": "<20190611155221.2703-1-leyi.rong@intel.com>\n\t<20190619151846.113820-1-leyi.rong@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 27/69] net/ice/base: make FDID available for\n\tFlexDescriptor",
        "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": "The FDID (flow director filter ID) was not inserted into Flex Descriptor\nwritebacks. The data for FDID is always 0xffffffff when FDID-priority is\n0 in the flow director programming descriptor.\n\nThis patch changes the FDID-priority to 1 so the FDID is available for\nthe Flex Descriptor. With this patch the FDID is placed into the Flex\nDescriptor.\n\nSigned-off-by: Henry Tieman <henry.w.tieman@intel.com>\nSigned-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Leyi Rong <leyi.rong@intel.com>\n---\n drivers/net/ice/base/ice_fdir.c      | 2 +-\n drivers/net/ice/base/ice_lan_tx_rx.h | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_fdir.c b/drivers/net/ice/base/ice_fdir.c\nindex 4bc8e6dcb..bde676a8f 100644\n--- a/drivers/net/ice/base/ice_fdir.c\n+++ b/drivers/net/ice/base/ice_fdir.c\n@@ -186,7 +186,7 @@ ice_set_dflt_val_fd_desc(struct ice_fd_fltr_desc_ctx *fd_fltr_ctx)\n \tfd_fltr_ctx->desc_prof_prio = ICE_FXD_FLTR_QW1_PROF_PRIO_ZERO;\n \tfd_fltr_ctx->desc_prof = ICE_FXD_FLTR_QW1_PROF_ZERO;\n \tfd_fltr_ctx->swap = ICE_FXD_FLTR_QW1_SWAP_SET;\n-\tfd_fltr_ctx->fdid_prio = ICE_FXD_FLTR_QW1_FDID_PRI_ZERO;\n+\tfd_fltr_ctx->fdid_prio = ICE_FXD_FLTR_QW1_FDID_PRI_ONE;\n \tfd_fltr_ctx->fdid_mdid = ICE_FXD_FLTR_QW1_FDID_MDID_FD;\n \tfd_fltr_ctx->fdid = ICE_FXD_FLTR_QW1_FDID_ZERO;\n }\ndiff --git a/drivers/net/ice/base/ice_lan_tx_rx.h b/drivers/net/ice/base/ice_lan_tx_rx.h\nindex 8c9902994..ef12b9f7c 100644\n--- a/drivers/net/ice/base/ice_lan_tx_rx.h\n+++ b/drivers/net/ice/base/ice_lan_tx_rx.h\n@@ -162,7 +162,7 @@ struct ice_fltr_desc {\n \n #define ICE_FXD_FLTR_QW1_FDID_PRI_S\t25\n #define ICE_FXD_FLTR_QW1_FDID_PRI_M\t(0x7ULL << ICE_FXD_FLTR_QW1_FDID_PRI_S)\n-#define ICE_FXD_FLTR_QW1_FDID_PRI_ZERO\t0x0ULL\n+#define ICE_FXD_FLTR_QW1_FDID_PRI_ONE\t0x1ULL\n \n #define ICE_FXD_FLTR_QW1_FDID_MDID_S\t28\n #define ICE_FXD_FLTR_QW1_FDID_MDID_M\t(0xFULL << ICE_FXD_FLTR_QW1_FDID_MDID_S)\n",
    "prefixes": [
        "v3",
        "27/69"
    ]
}