get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 99780,
    "url": "http://patchwork.dpdk.org/api/patches/99780/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210927122650.30881-8-nipun.gupta@nxp.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20210927122650.30881-8-nipun.gupta@nxp.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210927122650.30881-8-nipun.gupta@nxp.com",
    "date": "2021-09-27T12:26:46",
    "name": "[07/11] net/dpaa2: update RSS to support additional distributions",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d2ed3a9283f7bf68f17791391fd07bf98e6a4805",
    "submitter": {
        "id": 471,
        "url": "http://patchwork.dpdk.org/api/people/471/?format=api",
        "name": "Nipun Gupta",
        "email": "nipun.gupta@nxp.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210927122650.30881-8-nipun.gupta@nxp.com/mbox/",
    "series": [
        {
            "id": 19191,
            "url": "http://patchwork.dpdk.org/api/series/19191/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=19191",
            "date": "2021-09-27T12:26:39",
            "name": "NXP DPAAx Bus and PMD changes",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/19191/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/99780/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/99780/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 D0B3FA0548;\n\tMon, 27 Sep 2021 14:27:40 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 68BB041123;\n\tMon, 27 Sep 2021 14:27:04 +0200 (CEST)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n by mails.dpdk.org (Postfix) with ESMTP id E6ECC410E4\n for <dev@dpdk.org>; Mon, 27 Sep 2021 14:26:55 +0200 (CEST)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id C7B8B20140E;\n Mon, 27 Sep 2021 14:26:55 +0200 (CEST)",
            "from aprdc01srsp001v.ap-rdc01.nxp.com\n (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16])\n by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 434AF201127;\n Mon, 27 Sep 2021 14:26:55 +0200 (CEST)",
            "from lsv03274.swis.in-blr01.nxp.com (lsv03274.swis.in-blr01.nxp.com\n [92.120.147.114])\n by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 8ED1C183AD0B;\n Mon, 27 Sep 2021 20:26:54 +0800 (+08)"
        ],
        "From": "nipun.gupta@nxp.com",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, ferruh.yigit@intel.com, hemant.agrawal@nxp.com,\n sachin.saxena@nxp.com, Vanshika Shukla <vanshika.shukla@nxp.com>",
        "Date": "Mon, 27 Sep 2021 17:56:46 +0530",
        "Message-Id": "<20210927122650.30881-8-nipun.gupta@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20210927122650.30881-1-nipun.gupta@nxp.com>",
        "References": "<20210927122650.30881-1-nipun.gupta@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[dpdk-dev] [PATCH 07/11] net/dpaa2: update RSS to support\n additional distributions",
        "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": "From: Vanshika Shukla <vanshika.shukla@nxp.com>\n\nThis patch updates the RSS support to support following additional\ndistributions:\n- VLAN\n- ESP\n- AH\n- PPPOE\n\nSigned-off-by: Vanshika Shukla <vanshika.shukla@nxp.com>\n---\n drivers/net/dpaa2/base/dpaa2_hw_dpni.c | 70 +++++++++++++++++++++++++-\n drivers/net/dpaa2/dpaa2_ethdev.h       |  7 ++-\n 2 files changed, 75 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c\nindex 641e7027f1..08f49af768 100644\n--- a/drivers/net/dpaa2/base/dpaa2_hw_dpni.c\n+++ b/drivers/net/dpaa2/base/dpaa2_hw_dpni.c\n@@ -210,6 +210,10 @@ dpaa2_distset_to_dpkg_profile_cfg(\n \tint l2_configured = 0, l3_configured = 0;\n \tint l4_configured = 0, sctp_configured = 0;\n \tint mpls_configured = 0;\n+\tint vlan_configured = 0;\n+\tint esp_configured = 0;\n+\tint ah_configured = 0;\n+\tint pppoe_configured = 0;\n \n \tmemset(kg_cfg, 0, sizeof(struct dpkg_profile_cfg));\n \twhile (req_dist_set) {\n@@ -217,6 +221,7 @@ dpaa2_distset_to_dpkg_profile_cfg(\n \t\t\tdist_field = 1ULL << loop;\n \t\t\tswitch (dist_field) {\n \t\t\tcase ETH_RSS_L2_PAYLOAD:\n+\t\t\tcase ETH_RSS_ETH:\n \n \t\t\t\tif (l2_configured)\n \t\t\t\t\tbreak;\n@@ -231,7 +236,70 @@ dpaa2_distset_to_dpkg_profile_cfg(\n \t\t\t\tkg_cfg->extracts[i].extract.from_hdr.type =\n \t\t\t\t\tDPKG_FULL_FIELD;\n \t\t\t\ti++;\n-\t\t\tbreak;\n+\t\t\t\tbreak;\n+\n+\t\t\tcase ETH_RSS_PPPOE:\n+\t\t\t\tif (pppoe_configured)\n+\t\t\t\t\tbreak;\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.prot =\n+\t\t\t\t\tNET_PROT_PPPOE;\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.field =\n+\t\t\t\t\tNH_FLD_PPPOE_SID;\n+\t\t\t\tkg_cfg->extracts[i].type =\n+\t\t\t\t\tDPKG_EXTRACT_FROM_HDR;\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.type =\n+\t\t\t\t\tDPKG_FULL_FIELD;\n+\t\t\t\ti++;\n+\t\t\t\tbreak;\n+\n+\t\t\tcase ETH_RSS_ESP:\n+\t\t\t\tif (esp_configured)\n+\t\t\t\t\tbreak;\n+\t\t\t\tesp_configured = 1;\n+\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.prot =\n+\t\t\t\t\tNET_PROT_IPSEC_ESP;\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.field =\n+\t\t\t\t\tNH_FLD_IPSEC_ESP_SPI;\n+\t\t\t\tkg_cfg->extracts[i].type =\n+\t\t\t\t\tDPKG_EXTRACT_FROM_HDR;\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.type =\n+\t\t\t\t\tDPKG_FULL_FIELD;\n+\t\t\t\ti++;\n+\t\t\t\tbreak;\n+\n+\t\t\tcase ETH_RSS_AH:\n+\t\t\t\tif (ah_configured)\n+\t\t\t\t\tbreak;\n+\t\t\t\tah_configured = 1;\n+\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.prot =\n+\t\t\t\t\tNET_PROT_IPSEC_AH;\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.field =\n+\t\t\t\t\tNH_FLD_IPSEC_AH_SPI;\n+\t\t\t\tkg_cfg->extracts[i].type =\n+\t\t\t\t\tDPKG_EXTRACT_FROM_HDR;\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.type =\n+\t\t\t\t\tDPKG_FULL_FIELD;\n+\t\t\t\ti++;\n+\t\t\t\tbreak;\n+\n+\t\t\tcase ETH_RSS_C_VLAN:\n+\t\t\tcase ETH_RSS_S_VLAN:\n+\t\t\t\tif (vlan_configured)\n+\t\t\t\t\tbreak;\n+\t\t\t\tvlan_configured = 1;\n+\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.prot =\n+\t\t\t\t\tNET_PROT_VLAN;\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.field =\n+\t\t\t\t\tNH_FLD_VLAN_TCI;\n+\t\t\t\tkg_cfg->extracts[i].type =\n+\t\t\t\t\tDPKG_EXTRACT_FROM_HDR;\n+\t\t\t\tkg_cfg->extracts[i].extract.from_hdr.type =\n+\t\t\t\t\tDPKG_FULL_FIELD;\n+\t\t\t\ti++;\n+\t\t\t\tbreak;\n \n \t\t\tcase ETH_RSS_MPLS:\n \ndiff --git a/drivers/net/dpaa2/dpaa2_ethdev.h b/drivers/net/dpaa2/dpaa2_ethdev.h\nindex 07a6811dd2..e1fe14c8b4 100644\n--- a/drivers/net/dpaa2/dpaa2_ethdev.h\n+++ b/drivers/net/dpaa2/dpaa2_ethdev.h\n@@ -70,7 +70,12 @@\n \tETH_RSS_UDP | \\\n \tETH_RSS_TCP | \\\n \tETH_RSS_SCTP | \\\n-\tETH_RSS_MPLS)\n+\tETH_RSS_MPLS | \\\n+\tETH_RSS_C_VLAN | \\\n+\tETH_RSS_S_VLAN | \\\n+\tETH_RSS_ESP | \\\n+\tETH_RSS_AH | \\\n+\tETH_RSS_PPPOE)\n \n /* LX2 FRC Parsed values (Little Endian) */\n #define DPAA2_PKT_TYPE_ETHER\t\t0x0060\n",
    "prefixes": [
        "07/11"
    ]
}