get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96969,
    "url": "http://patches.dpdk.org/api/patches/96969/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210817064822.159999-1-wenjun1.wu@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": "<20210817064822.159999-1-wenjun1.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210817064822.159999-1-wenjun1.wu@intel.com",
    "date": "2021-08-17T06:48:22",
    "name": "[v2,2/2] net/ice: fix default RSS field for IP fragment packets",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "59ea267bc4b86281e8e2af530d876d25ebdc7e28",
    "submitter": {
        "id": 2083,
        "url": "http://patches.dpdk.org/api/people/2083/?format=api",
        "name": "Wenjun Wu",
        "email": "wenjun1.wu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210817064822.159999-1-wenjun1.wu@intel.com/mbox/",
    "series": [
        {
            "id": 18303,
            "url": "http://patches.dpdk.org/api/series/18303/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=18303",
            "date": "2021-08-17T06:47:10",
            "name": "fix default RSS field for IP fragment packets",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/18303/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/96969/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/96969/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 8201AA0548;\n\tTue, 17 Aug 2021 09:06:35 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 657014115A;\n\tTue, 17 Aug 2021 09:06:35 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 1DA7C40143\n for <dev@dpdk.org>; Tue, 17 Aug 2021 09:06:33 +0200 (CEST)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Aug 2021 00:06:32 -0700",
            "from wuwenjun.sh.intel.com ([10.67.110.178])\n by fmsmga006.fm.intel.com with ESMTP; 17 Aug 2021 00:06:30 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10078\"; a=\"277036342\"",
            "E=Sophos;i=\"5.84,328,1620716400\"; d=\"scan'208\";a=\"277036342\"",
            "E=Sophos;i=\"5.84,328,1620716400\"; d=\"scan'208\";a=\"676374112\""
        ],
        "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": "Tue, 17 Aug 2021 14:48:22 +0800",
        "Message-Id": "<20210817064822.159999-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 v2 2/2] net/ice: fix default RSS field for IP\n 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": "Previously IP ID field is supported in default RSS for IP fragment packets.\nActually it is not expected.\n\nThis patch removes redundant default RSS field for IP fragment packets.\nThe default RSS only needs to support the src and dst IP fields.\n\nFixes: 4027fffe86f4 (\"net/ice: support default RSS for IP fragment packet\")\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": [
        "v2",
        "2/2"
    ]
}