get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 73500,
    "url": "https://patches.dpdk.org/api/patches/73500/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200708043621.276392-2-junfeng.guo@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20200708043621.276392-2-junfeng.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200708043621.276392-2-junfeng.guo@intel.com",
    "date": "2020-07-08T04:36:19",
    "name": "[v3,1/3] ethdev: add new RSS types for IPv6 prefix",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d6c2b87e3b2ac28a163fedc903294b5db1e778ef",
    "submitter": {
        "id": 1785,
        "url": "https://patches.dpdk.org/api/people/1785/?format=api",
        "name": "Junfeng Guo",
        "email": "junfeng.guo@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200708043621.276392-2-junfeng.guo@intel.com/mbox/",
    "series": [
        {
            "id": 10874,
            "url": "https://patches.dpdk.org/api/series/10874/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10874",
            "date": "2020-07-08T04:36:18",
            "name": "add RSS support for IPv6 prefix",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/10874/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73500/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/73500/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 5F86EA00BE;\n\tWed,  8 Jul 2020 06:38:13 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E74E21DE7E;\n\tWed,  8 Jul 2020 06:38:08 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by dpdk.org (Postfix) with ESMTP id E7D6C1DE3E\n for <dev@dpdk.org>; Wed,  8 Jul 2020 06:38:06 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 07 Jul 2020 21:38:06 -0700",
            "from dpdk-junfengguo-v3.sh.intel.com ([10.67.119.146])\n by orsmga008.jf.intel.com with ESMTP; 07 Jul 2020 21:38:04 -0700"
        ],
        "IronPort-SDR": [
            "\n GJBZMFUrs06pJSci8V3XBF9tgWWS0DRdNSpObEWyWIskmBnvNfEFxhg+bNg6aXlVSEUAIjbrC6\n 7x1yip0lzeIg==",
            "\n pe+sVe3yCq28LQJSDobz2cgaMhda4D5vMe2hbNvDR1yuvRqJ0Q1SI5ajopZQYiOJxPeDANiqMP\n /soBcodA+C5A=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9675\"; a=\"232600531\"",
            "E=Sophos;i=\"5.75,326,1589266800\"; d=\"scan'208\";a=\"232600531\"",
            "E=Sophos;i=\"5.75,326,1589266800\"; d=\"scan'208\";a=\"314526656\""
        ],
        "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, xiaolong.ye@intel.com, beilei.xing@intel.com,\n ferruh.yigit@intel.com",
        "Cc": "dev@dpdk.org, jia.guo@intel.com, junfeng.guo@intel.com, simei.su@intel.com",
        "Date": "Wed,  8 Jul 2020 12:36:19 +0800",
        "Message-Id": "<20200708043621.276392-2-junfeng.guo@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200708043621.276392-1-junfeng.guo@intel.com>",
        "References": "<20200616081644.23887-1-junfeng.guo@intel.com>\n <20200708043621.276392-1-junfeng.guo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 1/3] ethdev: add new RSS types for IPv6 prefix",
        "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": "This patch defines new RSS offload types for IPv6 prefix with 32, 48,\n64 bits of both SRC and DST IPv6 address.\n\nSigned-off-by: Junfeng Guo <junfeng.guo@intel.com>\n---\n lib/librte_ethdev/rte_ethdev.h | 51 ++++++++++++++++++++++++++++++++++\n 1 file changed, 51 insertions(+)",
    "diff": "diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h\nindex 631b146bd..5a7ba36d8 100644\n--- a/lib/librte_ethdev/rte_ethdev.h\n+++ b/lib/librte_ethdev/rte_ethdev.h\n@@ -538,6 +538,9 @@ struct rte_eth_rss_conf {\n #define ETH_RSS_L4_DST_ONLY        (1ULL << 60)\n #define ETH_RSS_L2_SRC_ONLY        (1ULL << 59)\n #define ETH_RSS_L2_DST_ONLY        (1ULL << 58)\n+#define ETH_RSS_L3_PRE32           (1ULL << 57)\n+#define ETH_RSS_L3_PRE48           (1ULL << 56)\n+#define ETH_RSS_L3_PRE64           (1ULL << 55)\n \n /**\n  * For input set change of hash filter, if SRC_ONLY and DST_ONLY of\n@@ -561,6 +564,54 @@ rte_eth_rss_hf_refine(uint64_t rss_hf)\n \treturn rss_hf;\n }\n \n+#define ETH_RSS_IPV6_PRE32 ( \\\n+\t\tETH_RSS_IPV6 | \\\n+\t\tETH_RSS_L3_PRE32)\n+\n+#define ETH_RSS_IPV6_PRE48 ( \\\n+\t\tETH_RSS_IPV6 | \\\n+\t\tETH_RSS_L3_PRE48)\n+\n+#define ETH_RSS_IPV6_PRE64 ( \\\n+\t\tETH_RSS_IPV6 | \\\n+\t\tETH_RSS_L3_PRE64)\n+\n+#define ETH_RSS_IPV6_PRE32_UDP ( \\\n+\t\tETH_RSS_NONFRAG_IPV6_UDP | \\\n+\t\tETH_RSS_L3_PRE32)\n+\n+#define ETH_RSS_IPV6_PRE48_UDP ( \\\n+\t\tETH_RSS_NONFRAG_IPV6_UDP | \\\n+\t\tETH_RSS_L3_PRE48)\n+\n+#define ETH_RSS_IPV6_PRE64_UDP ( \\\n+\t\tETH_RSS_NONFRAG_IPV6_UDP | \\\n+\t\tETH_RSS_L3_PRE64)\n+\n+#define ETH_RSS_IPV6_PRE32_TCP ( \\\n+\t\tETH_RSS_NONFRAG_IPV6_TCP | \\\n+\t\tETH_RSS_L3_PRE32)\n+\n+#define ETH_RSS_IPV6_PRE48_TCP ( \\\n+\t\tETH_RSS_NONFRAG_IPV6_TCP | \\\n+\t\tETH_RSS_L3_PRE48)\n+\n+#define ETH_RSS_IPV6_PRE64_TCP ( \\\n+\t\tETH_RSS_NONFRAG_IPV6_TCP | \\\n+\t\tETH_RSS_L3_PRE64)\n+\n+#define ETH_RSS_IPV6_PRE32_SCTP ( \\\n+\t\tETH_RSS_NONFRAG_IPV6_SCTP | \\\n+\t\tETH_RSS_L3_PRE32)\n+\n+#define ETH_RSS_IPV6_PRE48_SCTP ( \\\n+\t\tETH_RSS_NONFRAG_IPV6_SCTP | \\\n+\t\tETH_RSS_L3_PRE48)\n+\n+#define ETH_RSS_IPV6_PRE64_SCTP ( \\\n+\t\tETH_RSS_NONFRAG_IPV6_SCTP | \\\n+\t\tETH_RSS_L3_PRE64)\n+\n #define ETH_RSS_IP ( \\\n \tETH_RSS_IPV4 | \\\n \tETH_RSS_FRAG_IPV4 | \\\n",
    "prefixes": [
        "v3",
        "1/3"
    ]
}