Show a patch.

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

{
    "id": 73508,
    "url": "https://patches.dpdk.org/api/patches/73508/",
    "web_url": "https://patches.dpdk.org/patch/73508/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20200708073341.546583-2-junfeng.guo@intel.com>",
    "date": "2020-07-08T07:33:39",
    "name": "[v4,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/",
        "name": "Guo, Junfeng",
        "email": "junfeng.guo@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "https://patches.dpdk.org/patch/73508/mbox/",
    "series": [
        {
            "id": 10879,
            "url": "https://patches.dpdk.org/api/series/10879/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10879",
            "date": "2020-07-08T07:33:38",
            "name": "add RSS support for IPv6 prefix",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/10879/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73508/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73508/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "IronPort-SDR": [
            "\n VImSqJMUnxUgCDCAWJBAWCgEf1rwLYQCm5kKHKxSoYe7canMc9Jc+NaZq6BQA9FpHdf2mCSMiy\n xY4tMebkm5Dw==",
            "\n DqGKXRKSR8f8S7nJFjZSA3VoEl5pJnP+xNtEAkZjHlS628rW7hglPJVeFRprsBalME0+y91D52\n fhgD1aBmkK/A=="
        ],
        "X-Mailer": "git-send-email 2.25.1",
        "To": "qi.z.zhang@intel.com, xiaolong.ye@intel.com, beilei.xing@intel.com,\n ferruh.yigit@intel.com",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 869ECA00BE;\n\tWed,  8 Jul 2020 09:35:33 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0FBD81DA28;\n\tWed,  8 Jul 2020 09:35:29 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id ECB001DA27\n for <dev@dpdk.org>; Wed,  8 Jul 2020 09:35:27 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Jul 2020 00:35:27 -0700",
            "from dpdk-junfengguo-v3.sh.intel.com ([10.67.119.146])\n by orsmga007.jf.intel.com with ESMTP; 08 Jul 2020 00:35:25 -0700"
        ],
        "X-BeenThere": "dev@dpdk.org",
        "X-Amp-File-Uploaded": "False",
        "Subject": "[dpdk-dev] [PATCH v4 1/3] ethdev: add new RSS types for IPv6 prefix",
        "Cc": "dev@dpdk.org, jia.guo@intel.com, junfeng.guo@intel.com, simei.su@intel.com",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "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-Post": "<mailto:dev@dpdk.org>",
        "In-Reply-To": "<20200708073341.546583-1-junfeng.guo@intel.com>",
        "Precedence": "list",
        "X-ExtLoop1": "1",
        "From": "Junfeng Guo <junfeng.guo@intel.com>",
        "Content-Transfer-Encoding": "8bit",
        "MIME-Version": "1.0",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9675\"; a=\"147760454\"",
            "E=Sophos;i=\"5.75,327,1589266800\"; d=\"scan'208\";a=\"147760454\"",
            "E=Sophos;i=\"5.75,327,1589266800\"; d=\"scan'208\";a=\"323790580\""
        ],
        "References": "<20200708043621.276392-1-junfeng.guo@intel.com>\n <20200708073341.546583-1-junfeng.guo@intel.com>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Message-Id": "<20200708073341.546583-2-junfeng.guo@intel.com>",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Date": "Wed,  8 Jul 2020 15:33:39 +0800",
        "X-Mailman-Version": "2.1.15"
    },
    "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": [
        "v4",
        "1/3"
    ]
}