get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96968,
    "url": "http://patchwork.dpdk.org/api/patches/96968/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210817064747.159948-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": "<20210817064747.159948-1-wenjun1.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210817064747.159948-1-wenjun1.wu@intel.com",
    "date": "2021-08-17T06:47:47",
    "name": "[v2,1/2] net/iavf: fix default RSS field for IP fragment packets",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "774989eba25f4ccb17e3d2381c59a466ce86e5bb",
    "submitter": {
        "id": 2083,
        "url": "http://patchwork.dpdk.org/api/people/2083/?format=api",
        "name": "Wenjun Wu",
        "email": "wenjun1.wu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210817064747.159948-1-wenjun1.wu@intel.com/mbox/",
    "series": [
        {
            "id": 18303,
            "url": "http://patchwork.dpdk.org/api/series/18303/?format=api",
            "web_url": "http://patchwork.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://patchwork.dpdk.org/series/18303/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/96968/comments/",
    "check": "warning",
    "checks": "http://patchwork.dpdk.org/api/patches/96968/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 6FFF5A0548;\n\tTue, 17 Aug 2021 09:06:06 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4438E4014E;\n\tTue, 17 Aug 2021 09:06:06 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 2FFE040143\n for <dev@dpdk.org>; Tue, 17 Aug 2021 09:06:04 +0200 (CEST)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Aug 2021 00:05:58 -0700",
            "from wuwenjun.sh.intel.com ([10.67.110.178])\n by fmsmga006.fm.intel.com with ESMTP; 17 Aug 2021 00:05:56 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10078\"; a=\"203208698\"",
            "E=Sophos;i=\"5.84,328,1620716400\"; d=\"scan'208\";a=\"203208698\"",
            "E=Sophos;i=\"5.84,328,1620716400\"; d=\"scan'208\";a=\"676373925\""
        ],
        "X-ExtLoop1": "1",
        "From": "Wenjun Wu <wenjun1.wu@intel.com>",
        "To": "dev@dpdk.org,\n\tjingjing.wu@intel.com,\n\tbeilei.xing@intel.com",
        "Cc": "Wenjun Wu <wenjun1.wu@intel.com>",
        "Date": "Tue, 17 Aug 2021 14:47:47 +0800",
        "Message-Id": "<20210817064747.159948-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 1/2] net/iavf: 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\npackets. Actually 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: 9e29a278bc0c (\"net/iavf: support default RSS for IP fragment\")\n\nSigned-off-by: Wenjun Wu <wenjun1.wu@intel.com>\n---\n drivers/net/iavf/iavf_hash.c | 26 ++------------------------\n 1 file changed, 2 insertions(+), 24 deletions(-)",
    "diff": "diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c\nindex 2b03dad858..eba55ecea5 100644\n--- a/drivers/net/iavf/iavf_hash.c\n+++ b/drivers/net/iavf/iavf_hash.c\n@@ -624,34 +624,12 @@ iavf_rss_hash_set(struct iavf_adapter *ad, uint64_t rss_hf, bool add)\n \t}\n \n \tif (rss_hf & ETH_RSS_FRAG_IPV4) {\n-\t\tstruct virtchnl_proto_hdrs hdr = {\n-\t\t\t.tunnel_level = TUNNEL_LEVEL_OUTER,\n-\t\t\t.count = 3,\n-\t\t\t.proto_hdr = {\n-\t\t\t\tproto_hdr_eth,\n-\t\t\t\tproto_hdr_ipv4,\n-\t\t\t\t{\n-\t\t\t\t\tVIRTCHNL_PROTO_HDR_IPV4_FRAG,\n-\t\t\t\t\tFIELD_SELECTOR(VIRTCHNL_PROTO_HDR_IPV4_FRAG_PKID),\n-\t\t\t\t\t{BUFF_NOUSED},\n-\t\t\t\t},\n-\t\t\t},\n-\t\t};\n-\t\trss_cfg.proto_hdrs = hdr;\n+\t\trss_cfg.proto_hdrs = outer_ipv4_tmplt;\n \t\tiavf_add_del_rss_cfg(ad, &rss_cfg, add);\n \t}\n \n \tif (rss_hf & ETH_RSS_FRAG_IPV6) {\n-\t\tstruct virtchnl_proto_hdrs hdr = {\n-\t\t\t.tunnel_level = TUNNEL_LEVEL_OUTER,\n-\t\t\t.count = 3,\n-\t\t\t.proto_hdr = {\n-\t\t\t\tproto_hdr_eth,\n-\t\t\t\tproto_hdr_ipv6,\n-\t\t\t\tproto_hdr_ipv6_frag,\n-\t\t\t},\n-\t\t};\n-\t\trss_cfg.proto_hdrs = hdr;\n+\t\trss_cfg.proto_hdrs = outer_ipv6_tmplt;\n \t\tiavf_add_del_rss_cfg(ad, &rss_cfg, add);\n \t}\n \n",
    "prefixes": [
        "v2",
        "1/2"
    ]
}