Show a patch.

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

{
    "id": 73527,
    "url": "https://patches.dpdk.org/api/patches/73527/?format=api",
    "web_url": "https://patches.dpdk.org/patch/73527/",
    "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"
    },
    "msgid": "<20200708133703.48945-2-qi.z.zhang@intel.com>",
    "date": "2020-07-08T13:37:02",
    "name": "[v5,2/3] app/testpmd: support extended RSS offload types",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "78917fde35820606ca4f320accdc23fc98766449",
    "submitter": {
        "id": 504,
        "url": "https://patches.dpdk.org/api/people/504/?format=api",
        "name": "Zhang, Qi Z",
        "email": "qi.z.zhang@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@intel.com"
    },
    "mbox": "https://patches.dpdk.org/patch/73527/mbox/",
    "series": [
        {
            "id": 10891,
            "url": "https://patches.dpdk.org/api/series/10891/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10891",
            "date": "2020-07-08T13:37:01",
            "name": "[v5,1/3] ethdev: add new RSS types for IPv6 prefix",
            "version": 5,
            "mbox": "https://patches.dpdk.org/series/10891/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73527/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73527/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9675\"; a=\"149302800\"",
            "E=Sophos;i=\"5.75,327,1589266800\"; d=\"scan'208\";a=\"149302800\"",
            "E=Sophos;i=\"5.75,327,1589266800\"; d=\"scan'208\";a=\"283798788\""
        ],
        "IronPort-SDR": [
            "\n SEcJt0dJmHD3Tak9moC50tbimEwgVS7L6EgFjBNRpHD7H1MqmremAMgVkYYo5e2qaP1z0DVTHv\n u0sD2JZdcGPQ==",
            "\n HXqC/KlFehvP+hEqWpbLulU6FhtSfPhAfh3AvZHRaZ//3WDhzobDris0Surz5FtG+IL4ndhq00\n GpH8SXg/qy8g=="
        ],
        "X-Amp-File-Uploaded": "False",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<20200708133703.48945-1-qi.z.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v5 2/3] app/testpmd: support extended RSS offload\n\ttypes",
        "Sender": "\"dev\" <dev-bounces@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 D354FA0526;\n\tWed,  8 Jul 2020 15:33:13 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5B5661DCF9;\n\tWed,  8 Jul 2020 15:33:09 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 3F7091DB22\n for <dev@dpdk.org>; Wed,  8 Jul 2020 15:33:07 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Jul 2020 06:33:06 -0700",
            "from dpdk51.sh.intel.com ([10.67.111.82])\n by orsmga006.jf.intel.com with ESMTP; 08 Jul 2020 06:33:05 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.13.6",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-ExtLoop1": "1",
        "Date": "Wed,  8 Jul 2020 21:37:02 +0800",
        "To": "thomas@monjalon.net",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "In-Reply-To": "<20200708133703.48945-1-qi.z.zhang@intel.com>",
        "Cc": "dev@dpdk.org, ferruh.yigit@intel.com, Junfeng Guo <junfeng.guo@intel.com>,\n Qi Zhang <qi.z.zhang@intel.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20200708133703.48945-2-qi.z.zhang@intel.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "From: Junfeng Guo <junfeng.guo@intel.com>\n\nThis patch adds testpmd cmdline support for IPv6 prefix.\n\nSigned-off-by: Junfeng Guo <junfeng.guo@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n app/test-pmd/cmdline.c | 12 ++++++++++++\n app/test-pmd/config.c  |  6 ++++++\n 2 files changed, 18 insertions(+)",
    "diff": "diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c\nindex 39ad93838..587a4bc9d 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -2297,6 +2297,18 @@ cmd_config_rss_parsed(void *parsed_result,\n \t\trss_conf.rss_hf = ETH_RSS_GENEVE;\n \telse if (!strcmp(res->value, \"nvgre\"))\n \t\trss_conf.rss_hf = ETH_RSS_NVGRE;\n+\telse if (!strcmp(res->value, \"l3-pre32\"))\n+\t\trss_conf.rss_hf = ETH_RSS_L3_PRE32;\n+\telse if (!strcmp(res->value, \"l3-pre40\"))\n+\t\trss_conf.rss_hf = ETH_RSS_L3_PRE40;\n+\telse if (!strcmp(res->value, \"l3-pre48\"))\n+\t\trss_conf.rss_hf = ETH_RSS_L3_PRE48;\n+\telse if (!strcmp(res->value, \"l3-pre56\"))\n+\t\trss_conf.rss_hf = ETH_RSS_L3_PRE56;\n+\telse if (!strcmp(res->value, \"l3-pre64\"))\n+\t\trss_conf.rss_hf = ETH_RSS_L3_PRE64;\n+\telse if (!strcmp(res->value, \"l3-pre96\"))\n+\t\trss_conf.rss_hf = ETH_RSS_L3_PRE96;\n \telse if (!strcmp(res->value, \"l3-src-only\"))\n \t\trss_conf.rss_hf = ETH_RSS_L3_SRC_ONLY;\n \telse if (!strcmp(res->value, \"l3-dst-only\"))\ndiff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 53a9b97d6..feba2d874 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -119,6 +119,12 @@ const struct rss_type_info rss_type_table[] = {\n \t{ \"tcp\", ETH_RSS_TCP },\n \t{ \"sctp\", ETH_RSS_SCTP },\n \t{ \"tunnel\", ETH_RSS_TUNNEL },\n+\t{ \"l3-pre32\", ETH_RSS_L3_PRE32 },\n+\t{ \"l3-pre40\", ETH_RSS_L3_PRE40 },\n+\t{ \"l3-pre48\", ETH_RSS_L3_PRE48 },\n+\t{ \"l3-pre56\", ETH_RSS_L3_PRE56 },\n+\t{ \"l3-pre64\", ETH_RSS_L3_PRE64 },\n+\t{ \"l3-pre96\", ETH_RSS_L3_PRE96 },\n \t{ \"l3-src-only\", ETH_RSS_L3_SRC_ONLY },\n \t{ \"l3-dst-only\", ETH_RSS_L3_DST_ONLY },\n \t{ \"l4-src-only\", ETH_RSS_L4_SRC_ONLY },\n",
    "prefixes": [
        "v5",
        "2/3"
    ]
}