get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 93846,
    "url": "https://patches.dpdk.org/api/patches/93846/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210603080352.10924-1-alvinx.zhang@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": "<20210603080352.10924-1-alvinx.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210603080352.10924-1-alvinx.zhang@intel.com",
    "date": "2021-06-03T08:03:52",
    "name": "[v2] ethdev: add IPv4 checksum RSS offload type",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "50ea850e555ae79060fa287ef15b7497cae01283",
    "submitter": {
        "id": 1398,
        "url": "https://patches.dpdk.org/api/people/1398/?format=api",
        "name": "Alvin Zhang",
        "email": "alvinx.zhang@intel.com"
    },
    "delegate": {
        "id": 3961,
        "url": "https://patches.dpdk.org/api/users/3961/?format=api",
        "username": "arybchenko",
        "first_name": "Andrew",
        "last_name": "Rybchenko",
        "email": "andrew.rybchenko@oktetlabs.ru"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210603080352.10924-1-alvinx.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 17220,
            "url": "https://patches.dpdk.org/api/series/17220/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17220",
            "date": "2021-06-03T08:03:52",
            "name": "[v2] ethdev: add IPv4 checksum RSS offload type",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/17220/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/93846/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/93846/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 5BDB5A0A0A;\n\tThu,  3 Jun 2021 10:04:22 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CD2D840689;\n\tThu,  3 Jun 2021 10:04:21 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id C467C4067A\n for <dev@dpdk.org>; Thu,  3 Jun 2021 10:04:19 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Jun 2021 01:04:01 -0700",
            "from shwdenpg235.ccr.corp.intel.com ([10.240.182.60])\n by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Jun 2021 01:03:57 -0700"
        ],
        "IronPort-SDR": [
            "\n fR8h4yPXoXDe8rLFcDAPMGGmzS74jHR57yKNU3lxiujuOR0NUO6V8hle/XBkQnqd/ayJ9wmYBD\n 2Lmq/ZU2Zb/A==",
            "\n 7WxdiENOrvt1/3euX+gNuiA6yUWzC2bMZu7nP2w65nX62GH89t0DOvOBrryroaykAo1Q51hSQ/\n uFHq+zrnM05g=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10003\"; a=\"191101683\"",
            "E=Sophos;i=\"5.83,244,1616482800\"; d=\"scan'208\";a=\"191101683\"",
            "E=Sophos;i=\"5.83,244,1616482800\"; d=\"scan'208\";a=\"467876666\""
        ],
        "From": "Alvin Zhang <alvinx.zhang@intel.com>",
        "To": "qi.z.zhang@intel.com,\n\tandrew.rybchenko@oktetlabs.ru",
        "Cc": "dev@dpdk.org,\n\tAlvin Zhang <alvinx.zhang@intel.com>",
        "Date": "Thu,  3 Jun 2021 16:03:52 +0800",
        "Message-Id": "<20210603080352.10924-1-alvinx.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.21.0.windows.1",
        "In-Reply-To": "<20210603031214.19892-1-alvinx.zhang@intel.com>",
        "References": "<20210603031214.19892-1-alvinx.zhang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2] ethdev: add IPv4 checksum RSS offload type",
        "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": "This patch defines new RSS offload type for IPv4 checksum,\nwhich is required when users want to distribute packets based\non the IPv4 checksum field.\n\nFor example \"flow create 0 ingress pattern eth / ipv4 / end\nactions rss types ipv4-chksum end queues end / end\", this flow\ncauses all matching packets to be distributed to queues on\nbasis of IPv4 checksum.\n\nSigned-off-by: Alvin Zhang <alvinx.zhang@intel.com>\n---\n app/test-pmd/cmdline.c  | 2 ++\n app/test-pmd/config.c   | 1 +\n lib/ethdev/rte_ethdev.h | 1 +\n 3 files changed, 4 insertions(+)",
    "diff": "diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c\nindex 0268b18..32da066 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -2254,6 +2254,8 @@ struct cmd_config_rss {\n \t\trss_conf.rss_hf = ETH_RSS_ECPRI;\n \telse if (!strcmp(res->value, \"mpls\"))\n \t\trss_conf.rss_hf = ETH_RSS_MPLS;\n+\telse if (!strcmp(res->value, \"ipv4-chksum\"))\n+\t\trss_conf.rss_hf = ETH_RSS_IPV4_CHKSUM;\n \telse if (!strcmp(res->value, \"none\"))\n \t\trss_conf.rss_hf = 0;\n \telse if (!strcmp(res->value, \"level-default\")) {\ndiff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 43c79b5..2c0c415 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -140,6 +140,7 @@\n \t{ \"gtpu\", ETH_RSS_GTPU },\n \t{ \"ecpri\", ETH_RSS_ECPRI },\n \t{ \"mpls\", ETH_RSS_MPLS },\n+\t{ \"ipv4-chksum\", ETH_RSS_IPV4_CHKSUM },\n \t{ NULL, 0 },\n };\n \ndiff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h\nindex faf3bd9..f10d834 100644\n--- a/lib/ethdev/rte_ethdev.h\n+++ b/lib/ethdev/rte_ethdev.h\n@@ -537,6 +537,7 @@ struct rte_eth_rss_conf {\n #define ETH_RSS_PPPOE\t\t   (1ULL << 31)\n #define ETH_RSS_ECPRI\t\t   (1ULL << 32)\n #define ETH_RSS_MPLS\t\t   (1ULL << 33)\n+#define ETH_RSS_IPV4_CHKSUM\t   (1ULL << 34)\n \n /*\n  * We use the following macros to combine with above ETH_RSS_* for\n",
    "prefixes": [
        "v2"
    ]
}