get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 73579,
    "url": "https://patches.dpdk.org/api/patches/73579/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1594275994-318254-1-git-send-email-simei.su@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": "<1594275994-318254-1-git-send-email-simei.su@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1594275994-318254-1-git-send-email-simei.su@intel.com",
    "date": "2020-07-09T06:26:34",
    "name": "net/ice: fix invalid RSS type",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d949a6fc17ee60b97e03d09f1d18fd55db2c7d48",
    "submitter": {
        "id": 1298,
        "url": "https://patches.dpdk.org/api/people/1298/?format=api",
        "name": "Simei Su",
        "email": "simei.su@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/1594275994-318254-1-git-send-email-simei.su@intel.com/mbox/",
    "series": [
        {
            "id": 10909,
            "url": "https://patches.dpdk.org/api/series/10909/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10909",
            "date": "2020-07-09T06:26:34",
            "name": "net/ice: fix invalid RSS type",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/10909/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73579/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73579/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 725F5A0526;\n\tThu,  9 Jul 2020 08:27:57 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 590B61DAD8;\n\tThu,  9 Jul 2020 08:27:56 +0200 (CEST)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by dpdk.org (Postfix) with ESMTP id E66551DA96\n for <dev@dpdk.org>; Thu,  9 Jul 2020 08:27:54 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Jul 2020 23:27:53 -0700",
            "from unknown (HELO npg-dpdk-cvl-simeisu-118d193.sh.intel.com)\n ([10.67.110.178])\n by fmsmga008.fm.intel.com with ESMTP; 08 Jul 2020 23:27:52 -0700"
        ],
        "IronPort-SDR": [
            "\n WvM8y8VOI7TxvBiXUZSedXwaT5UGFSafn+bQLWwRlWDN0ZuGFNaqjOeRs4Ub3xyhQrT/8THOMs\n 8qOONhDzmogA==",
            "\n AfkzAoCSA1VfwjWajGw6D33CpOSDbBCtJzNf1R+Ip2ysMFdGmbezi4DUcLzfAEtoK2dXHwHFG9\n BqSWhH+cUbqw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9676\"; a=\"209474124\"",
            "E=Sophos;i=\"5.75,330,1589266800\"; d=\"scan'208\";a=\"209474124\"",
            "E=Sophos;i=\"5.75,330,1589266800\"; d=\"scan'208\";a=\"268675988\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Simei Su <simei.su@intel.com>",
        "To": "qi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org,\n\tjia.guo@intel.com,\n\tSimei Su <simei.su@intel.com>",
        "Date": "Thu,  9 Jul 2020 14:26:34 +0800",
        "Message-Id": "<1594275994-318254-1-git-send-email-simei.su@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Subject": "[dpdk-dev] [PATCH] net/ice: fix invalid RSS type",
        "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 <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": "When a RSS rule with only RSS type modifirer L2/L3/L4 SRC/DST_ONLY,\nit should return failure. This patch adds invalid RSS type check.\n\nFixes: dfaedcf20170 (\"net/ice: refactor PF hash flow\")\n\nSigned-off-by: Simei Su <simei.su@intel.com>\n---\n drivers/net/ice/ice_hash.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c\nindex cbd6116..777bd6d 100644\n--- a/drivers/net/ice/ice_hash.c\n+++ b/drivers/net/ice/ice_hash.c\n@@ -721,6 +721,11 @@ struct ice_hash_match_type ice_hash_type_list[] = {\n \t\t\t * of the same level.\n \t\t\t */\n \t\t\trss_type = rte_eth_rss_hf_refine(rss_type);\n+\t\t\t/* Check if only L2/L3/L4 src/dst-only exists. */\n+\t\t\tif ((rss_type & 0xffffffff) == 0)\n+\t\t\t\treturn rte_flow_error_set(error, ENOTSUP,\n+\t\t\t\t\tRTE_FLOW_ERROR_TYPE_ACTION, action,\n+\t\t\t\t\t\"rss type with only L2/L3/L4 src/dst only is invalid\");\n \n \t\t\tcombine_type = ETH_RSS_L2_SRC_ONLY |\n \t\t\t\t\tETH_RSS_L2_DST_ONLY |\n",
    "prefixes": []
}