get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96515,
    "url": "http://patchwork.dpdk.org/api/patches/96515/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210802083659.1003658-1-wenjun1.wu@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": "<20210802083659.1003658-1-wenjun1.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210802083659.1003658-1-wenjun1.wu@intel.com",
    "date": "2021-08-02T08:36:59",
    "name": "[v1,2/2] net/ice: remove redundant default RSS field for IP fragment packets",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "59ea267bc4b86281e8e2af530d876d25ebdc7e28",
    "submitter": {
        "id": 2083,
        "url": "http://patchwork.dpdk.org/api/people/2083/?format=api",
        "name": "Wenjun Wu",
        "email": "wenjun1.wu@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/20210802083659.1003658-1-wenjun1.wu@intel.com/mbox/",
    "series": [
        {
            "id": 18127,
            "url": "http://patchwork.dpdk.org/api/series/18127/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18127",
            "date": "2021-08-02T08:34:51",
            "name": "remove redundant default RSS field for IP fragment packets",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/18127/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/96515/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/96515/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id BEF9BA0C41;\n\tMon,  2 Aug 2021 10:55:28 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9EC874111E;\n\tMon,  2 Aug 2021 10:55:28 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 328CB40140\n for <dev@dpdk.org>; Mon,  2 Aug 2021 10:55:27 +0200 (CEST)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Aug 2021 01:55:26 -0700",
            "from wuwenjun.sh.intel.com ([10.67.110.197])\n by FMSMGA003.fm.intel.com with ESMTP; 02 Aug 2021 01:55:25 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10063\"; a=\"299006758\"",
            "E=Sophos;i=\"5.84,288,1620716400\"; d=\"scan'208\";a=\"299006758\"",
            "E=Sophos;i=\"5.84,288,1620716400\"; d=\"scan'208\";a=\"510023728\""
        ],
        "X-ExtLoop1": "1",
        "From": "Wenjun Wu <wenjun1.wu@intel.com>",
        "To": "dev@dpdk.org,\n\tqiming.yang@intel.com,\n\tqi.z.zhang@intel.com",
        "Cc": "Wenjun Wu <wenjun1.wu@intel.com>",
        "Date": "Mon,  2 Aug 2021 16:36:59 +0800",
        "Message-Id": "<20210802083659.1003658-1-wenjun1.wu@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v1 2/2] net/ice: remove redundant default RSS\n field for IP fragment packets",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "This patch removes redundant default RSS field for IP fragment packets,\nonly src MAC address and dst MAC address are needed.\n\nSigned-off-by: Wenjun Wu <wenjun1.wu@intel.com>\n---\n drivers/net/ice/ice_ethdev.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex a4cd39c954..64ee569525 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -2975,7 +2975,7 @@ ice_rss_hash_set(struct ice_pf *pf, uint64_t rss_hf)\n \n \tif (rss_hf & ETH_RSS_FRAG_IPV4) {\n \t\tcfg.addl_hdrs = ICE_FLOW_SEG_HDR_IPV4 | ICE_FLOW_SEG_HDR_IPV_FRAG;\n-\t\tcfg.hash_flds = ICE_FLOW_HASH_IPV4 | BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_ID);\n+\t\tcfg.hash_flds = ICE_FLOW_HASH_IPV4;\n \t\tret = ice_add_rss_cfg_wrap(pf, vsi->idx, &cfg);\n \t\tif (ret)\n \t\t\tPMD_DRV_LOG(ERR, \"%s IPV4_FRAG rss flow fail %d\",\n@@ -2984,7 +2984,7 @@ ice_rss_hash_set(struct ice_pf *pf, uint64_t rss_hf)\n \n \tif (rss_hf & ETH_RSS_FRAG_IPV6) {\n \t\tcfg.addl_hdrs = ICE_FLOW_SEG_HDR_IPV6 | ICE_FLOW_SEG_HDR_IPV_FRAG;\n-\t\tcfg.hash_flds = ICE_FLOW_HASH_IPV6 | BIT_ULL(ICE_FLOW_FIELD_IDX_IPV6_ID);\n+\t\tcfg.hash_flds = ICE_FLOW_HASH_IPV6;\n \t\tret = ice_add_rss_cfg_wrap(pf, vsi->idx, &cfg);\n \t\tif (ret)\n \t\t\tPMD_DRV_LOG(ERR, \"%s IPV6_FRAG rss flow fail %d\",\n",
    "prefixes": [
        "v1",
        "2/2"
    ]
}