get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 51446,
    "url": "http://patches.dpdk.org/api/patches/51446/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190321150232.13536-8-qiming.yang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20190321150232.13536-8-qiming.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190321150232.13536-8-qiming.yang@intel.com",
    "date": "2019-03-21T15:02:32",
    "name": "[v4,3/3] net/ice: enable RSS when device init",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "bfc9e1849f863f4cbf905b8e018b8bc0738c2f61",
    "submitter": {
        "id": 522,
        "url": "http://patches.dpdk.org/api/people/522/?format=api",
        "name": "Qiming Yang",
        "email": "qiming.yang@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190321150232.13536-8-qiming.yang@intel.com/mbox/",
    "series": [
        {
            "id": 3841,
            "url": "http://patches.dpdk.org/api/series/3841/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=3841",
            "date": "2019-03-21T15:02:32",
            "name": null,
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/3841/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/51446/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/51446/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 55FDB1B456;\n\tThu, 21 Mar 2019 08:39:46 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 3D7401B426\n\tfor <dev@dpdk.org>; Thu, 21 Mar 2019 08:39:30 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t21 Mar 2019 00:39:30 -0700",
            "from dpdk-qiming2.sh.intel.com ([10.67.119.132])\n\tby orsmga002.jf.intel.com with ESMTP; 21 Mar 2019 00:39:29 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.60,252,1549958400\"; d=\"scan'208\";a=\"143894218\"",
        "From": "Qiming Yang <qiming.yang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qi.z.zhang@intel.com,\n\tQiming Yang <qiming.yang@intel.com>",
        "Date": "Thu, 21 Mar 2019 23:02:32 +0800",
        "Message-Id": "<20190321150232.13536-8-qiming.yang@intel.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20190321150232.13536-1-qiming.yang@intel.com>",
        "References": "<20190320175948.105277-1-qiming.yang@intel.com>\n\t<20190321150232.13536-1-qiming.yang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 3/3] net/ice: enable RSS when device init",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patch enabled RSS for UPD/TCP/SCTP+IPV4/IPV6 packets.\n\nSigned-off-by: Qiming Yang <qiming.yang@intel.com>\n---\n doc/guides/rel_notes/release_19_05.rst |  1 +\n drivers/net/ice/ice_ethdev.c           | 39 ++++++++++++++++++++++++++++++++++\n 2 files changed, 40 insertions(+)",
    "diff": "diff --git a/doc/guides/rel_notes/release_19_05.rst b/doc/guides/rel_notes/release_19_05.rst\nindex 9ca147f..7d34d63 100644\n--- a/doc/guides/rel_notes/release_19_05.rst\n+++ b/doc/guides/rel_notes/release_19_05.rst\n@@ -106,6 +106,7 @@ New Features\n \n   * Added package download support.\n   * Added Safe Mode support.\n+  * Supported RSS for UPD/TCP/SCTP+IPV4/IPV6 packets.\n \n Removed Items\n -------------\ndiff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex 99039d6..1c922b4 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -8,6 +8,7 @@\n #include <unistd.h>\n \n #include \"base/ice_sched.h\"\n+#include \"base/ice_flow.h\"\n #include \"ice_ethdev.h\"\n #include \"ice_rxtx.h\"\n \n@@ -1633,6 +1634,44 @@ static int ice_init_rss(struct ice_pf *pf)\n \tif (ret)\n \t\treturn -EINVAL;\n \n+\t/* configure RSS for tcp6 with input set IPv6 src/dst, TCP src/dst */\n+\tret = ice_add_rss_cfg(hw, vsi->idx, ICE_HASH_TCP_IPV6,\n+\t\t\t      ICE_FLOW_SEG_HDR_TCP | ICE_FLOW_SEG_HDR_IPV6);\n+\tif (ret)\n+\t\tPMD_DRV_LOG(ERR, \"%s TCP_IPV6 rss flow fail %d\", __func__, ret);\n+\n+\t/* configure RSS for udp6 with input set IPv6 src/dst, UDP src/dst */\n+\tret = ice_add_rss_cfg(hw, vsi->idx, ICE_HASH_UDP_IPV6,\n+\t\t\t      ICE_FLOW_SEG_HDR_UDP | ICE_FLOW_SEG_HDR_IPV6);\n+\tif (ret)\n+\t\tPMD_DRV_LOG(ERR, \"%s UDP_IPV6 rss flow fail %d\", __func__, ret);\n+\n+\t/* configure RSS for sctp6 with input set IPv6 src/dst */\n+\tret = ice_add_rss_cfg(hw, vsi->idx, ICE_FLOW_HASH_IPV6,\n+\t\t\t      ICE_FLOW_SEG_HDR_SCTP | ICE_FLOW_SEG_HDR_IPV6);\n+\tif (ret)\n+\t\tPMD_DRV_LOG(ERR, \"%s SCTP_IPV6 rss flow fail %d\",\n+\t\t\t\t__func__, ret);\n+\n+\t/* configure RSS for tcp4 with input set IP src/dst, TCP src/dst */\n+\tret = ice_add_rss_cfg(hw, vsi->idx, ICE_HASH_TCP_IPV4,\n+\t\t\t      ICE_FLOW_SEG_HDR_TCP | ICE_FLOW_SEG_HDR_IPV4);\n+\tif (ret)\n+\t\tPMD_DRV_LOG(ERR, \"%s TCP_IPV4 rss flow fail %d\", __func__, ret);\n+\n+\t/* configure RSS for udp4 with input set IP src/dst, UDP src/dst */\n+\tret = ice_add_rss_cfg(hw, vsi->idx, ICE_HASH_UDP_IPV4,\n+\t\t\t      ICE_FLOW_SEG_HDR_UDP | ICE_FLOW_SEG_HDR_IPV4);\n+\tif (ret)\n+\t\tPMD_DRV_LOG(ERR, \"%s UDP_IPV4 rss flow fail %d\", __func__, ret);\n+\n+\t/* configure RSS for sctp4 with input set IP src/dst */\n+\tret = ice_add_rss_cfg(hw, vsi->idx, ICE_FLOW_HASH_IPV4,\n+\t\t\t      ICE_FLOW_SEG_HDR_SCTP | ICE_FLOW_SEG_HDR_IPV4);\n+\tif (ret)\n+\t\tPMD_DRV_LOG(ERR, \"%s SCTP_IPV4 rss flow fail %d\",\n+\t\t\t\t__func__, ret);\n+\n \treturn 0;\n }\n \n",
    "prefixes": [
        "v4",
        "3/3"
    ]
}