get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 53341,
    "url": "https://patches.dpdk.org/api/patches/53341/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1557370770-16508-1-git-send-email-wei.zhao1@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": "<1557370770-16508-1-git-send-email-wei.zhao1@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1557370770-16508-1-git-send-email-wei.zhao1@intel.com",
    "date": "2019-05-09T02:59:30",
    "name": "net/i40e: fix error when create two RSS flow rule",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "91cdfbd90ede493b1b9148c13b4c6977b8897b61",
    "submitter": {
        "id": 495,
        "url": "https://patches.dpdk.org/api/people/495/?format=api",
        "name": "Zhao1, Wei",
        "email": "wei.zhao1@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1557370770-16508-1-git-send-email-wei.zhao1@intel.com/mbox/",
    "series": [
        {
            "id": 4609,
            "url": "https://patches.dpdk.org/api/series/4609/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=4609",
            "date": "2019-05-09T02:59:30",
            "name": "net/i40e: fix error when create two RSS flow rule",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/4609/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/53341/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/53341/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 9285D2B87;\n\tThu,  9 May 2019 05:28:26 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id DF3202082;\n\tThu,  9 May 2019 05:28:23 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t08 May 2019 20:28:22 -0700",
            "from dpdk6.bj.intel.com ([172.16.182.192])\n\tby fmsmga007.fm.intel.com with ESMTP; 08 May 2019 20:28:22 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Wei Zhao <wei.zhao1@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "stable@dpdk.org, qi.z.zhang@intel.com, yuan.peng@intel.com,\n\tWei Zhao <wei.zhao1@intel.com>",
        "Date": "Thu,  9 May 2019 10:59:30 +0800",
        "Message-Id": "<1557370770-16508-1-git-send-email-wei.zhao1@intel.com>",
        "X-Mailer": "git-send-email 2.7.5",
        "Subject": "[dpdk-dev] [PATCH] net/i40e: fix error when create two RSS flow rule",
        "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": "There is need to refuse to create the second RSS flow rule\nas only one RSS key and HASH register for each PF port.\nUsers should delete the first rule before setup the second\nrule.\n\nFixes: ecad87d22383 (\"net/i40e: move RSS to flow API\")\nCc: stable@dpdk.org\n\nSigned-off-by: Wei Zhao <wei.zhao1@intel.com>\n---\n drivers/net/i40e/i40e_flow.c | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c\nindex 5447e4e..bca93b6 100644\n--- a/drivers/net/i40e/i40e_flow.c\n+++ b/drivers/net/i40e/i40e_flow.c\n@@ -4444,6 +4444,14 @@ i40e_flow_parse_rss_action(struct rte_eth_dev *dev,\n \t\t}\n \t}\n \n+\tif (rss_info->conf.queue_num) {\n+\t\trte_flow_error_set(error, EINVAL,\n+\t\t\t\tRTE_FLOW_ERROR_TYPE_ACTION,\n+\t\t\t\tact,\n+\t\t\t\t\"rss only allow one valid rule\");\n+\t\treturn -rte_errno;\n+\t}\n+\n \t/* Parse RSS related parameters from configuration */\n \tif (rss->func != RTE_ETH_HASH_FUNCTION_DEFAULT)\n \t\treturn rte_flow_error_set\n",
    "prefixes": []
}