get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 77683,
    "url": "http://patches.dpdk.org/api/patches/77683/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200915062609.3786061-3-junfeng.guo@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": "<20200915062609.3786061-3-junfeng.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200915062609.3786061-3-junfeng.guo@intel.com",
    "date": "2020-09-15T06:26:09",
    "name": "[v3,2/2] net/iavf: support RSS for IPv6 prefix 64bit",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "73d1773462ea5a9ee7493da40646938fbf73516b",
    "submitter": {
        "id": 1785,
        "url": "http://patches.dpdk.org/api/people/1785/?format=api",
        "name": "Junfeng Guo",
        "email": "junfeng.guo@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/20200915062609.3786061-3-junfeng.guo@intel.com/mbox/",
    "series": [
        {
            "id": 12217,
            "url": "http://patches.dpdk.org/api/series/12217/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12217",
            "date": "2020-09-15T06:26:07",
            "name": "add AVF RSS support for IPv6 prefix",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/12217/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/77683/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/77683/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id D5229A04C7;\n\tTue, 15 Sep 2020 08:29:42 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D47411C138;\n\tTue, 15 Sep 2020 08:28:27 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 5EE091C12A\n for <dev@dpdk.org>; Tue, 15 Sep 2020 08:28:26 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Sep 2020 23:28:26 -0700",
            "from dpdk-junfengguo-v3.sh.intel.com ([10.67.119.146])\n by orsmga007.jf.intel.com with ESMTP; 14 Sep 2020 23:28:24 -0700"
        ],
        "IronPort-SDR": [
            "\n BJ1Kpn3XToaB/1wtmgEBu+U3iZEiU79H3XrYkCL+v+woh34itdUZuwEXmsUf8Mzapus00pAo3C\n TLJyQLHwXydw==",
            "\n VSgFagZOauVVEVXuRVp9B6chPvuR1BtA2Mr2LVkQvYSuvcIXRkDML8a1qS37lsNonRybVoVSBu\n C5Kz3208vkCQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9744\"; a=\"160141057\"",
            "E=Sophos;i=\"5.76,428,1592895600\"; d=\"scan'208\";a=\"160141057\"",
            "E=Sophos;i=\"5.76,428,1592895600\"; d=\"scan'208\";a=\"345700498\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Junfeng Guo <junfeng.guo@intel.com>",
        "To": "qi.z.zhang@intel.com,\n\tjingjing.wu@intel.com,\n\tbeilei.xing@intel.com",
        "Cc": "dev@dpdk.org,\n\tjunfeng.guo@intel.com",
        "Date": "Tue, 15 Sep 2020 14:26:09 +0800",
        "Message-Id": "<20200915062609.3786061-3-junfeng.guo@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200915062609.3786061-1-junfeng.guo@intel.com>",
        "References": "<20200804123920.485253-1-junfeng.guo@intel.com>\n <20200915062609.3786061-1-junfeng.guo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 2/2] net/iavf: support RSS for IPv6 prefix\n\t64bit",
        "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 <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": "RSS for IPv6 prefix 64bit fields are supported in this patch, so that\nwe can use prefix instead of full IPv6 address for RSS. The prefix\nhere only includes the first 64 bits of both SRC and DST IPv6 address.\n\nSigned-off-by: Junfeng Guo <junfeng.guo@intel.com>\n---\n drivers/net/iavf/iavf_hash.c | 21 +++++++++++++++++++++\n 1 file changed, 21 insertions(+)",
    "diff": "diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c\nindex d8a4dc8bf..c270daf5f 100644\n--- a/drivers/net/iavf/iavf_hash.c\n+++ b/drivers/net/iavf/iavf_hash.c\n@@ -580,7 +580,28 @@ iavf_refine_proto_hdrs_l234(struct virtchnl_proto_hdrs *proto_hdrs,\n \t\t\t}\n \t\t\tbreak;\n \t\tcase VIRTCHNL_PROTO_HDR_IPV6:\n+\t\t\tif (rss_type & RTE_ETH_RSS_L3_PRE64) {\n+\t\t\t\tREFINE_PROTO_FLD(DEL, IPV6_SRC);\n+\t\t\t\tREFINE_PROTO_FLD(DEL, IPV6_DST);\n+\t\t\t\tREFINE_PROTO_FLD(ADD, IPV6_PREFIX64_SRC);\n+\t\t\t\tREFINE_PROTO_FLD(ADD, IPV6_PREFIX64_DST);\n+\t\t\t}\n \t\t\tif (rss_type &\n+\t\t\t    (ETH_RSS_IPV6_PRE64 |\n+\t\t\t     ETH_RSS_IPV6_PRE64_UDP |\n+\t\t\t     ETH_RSS_IPV6_PRE64_TCP |\n+\t\t\t     ETH_RSS_IPV6_PRE64_SCTP)) {\n+\t\t\t\tif (rss_type & ETH_RSS_L3_SRC_ONLY)\n+\t\t\t\t\tREFINE_PROTO_FLD(DEL,\n+\t\t\t\t\t\t\t IPV6_PREFIX64_DST);\n+\t\t\t\telse if (rss_type & ETH_RSS_L3_DST_ONLY)\n+\t\t\t\t\tREFINE_PROTO_FLD(DEL,\n+\t\t\t\t\t\t\t IPV6_PREFIX64_SRC);\n+\t\t\t\telse if (rss_type &\n+\t\t\t\t\t (ETH_RSS_L4_SRC_ONLY |\n+\t\t\t\t\t  ETH_RSS_L4_DST_ONLY))\n+\t\t\t\t\thdr->field_selector = 0;\n+\t\t\t} else if (rss_type &\n \t\t\t    (ETH_RSS_IPV6 |\n \t\t\t     ETH_RSS_NONFRAG_IPV6_UDP |\n \t\t\t     ETH_RSS_NONFRAG_IPV6_TCP |\n",
    "prefixes": [
        "v3",
        "2/2"
    ]
}