Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/83915/?format=api
http://patches.dpdk.org/api/patches/83915/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201110180409.42133-1-kumar.amber@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": "<20201110180409.42133-1-kumar.amber@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20201110180409.42133-1-kumar.amber@intel.com", "date": "2020-11-10T18:04:09", "name": "[v1] net/i40e: argument in RSS action should have queue", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "55751b59a7647f7193f39ee23e19b84cdfe44945", "submitter": { "id": 1516, "url": "http://patches.dpdk.org/api/people/1516/?format=api", "name": "Amber, Kumar", "email": "kumar.amber@intel.com" }, "delegate": { "id": 319, "url": "http://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201110180409.42133-1-kumar.amber@intel.com/mbox/", "series": [ { "id": 13784, "url": "http://patches.dpdk.org/api/series/13784/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13784", "date": "2020-11-10T18:04:09", "name": "[v1] net/i40e: argument in RSS action should have queue", "version": 1, "mbox": "http://patches.dpdk.org/series/13784/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/83915/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/83915/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 66F46A04DD;\n\tTue, 10 Nov 2020 19:09:34 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 49AA8323C;\n\tTue, 10 Nov 2020 19:09:33 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id E83992BAA\n for <dev@dpdk.org>; Tue, 10 Nov 2020 19:09:31 +0100 (CET)", "from orsmga003.jf.intel.com ([10.7.209.27])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Nov 2020 10:09:28 -0800", "from unknown (HELO localhost.localdomain) ([10.190.212.185])\n by orsmga003.jf.intel.com with ESMTP; 10 Nov 2020 10:09:27 -0800" ], "IronPort-SDR": [ "\n nTpy8xqg4AeDi7cI5qLNToJJx6/E9QJHZdIWITkjsyhYyZJOjotPLt6FpSlCTbnvbmOS0ZZM8l\n +NUV7H0dBMJA==", "\n 3rksX/aq8ZbwGq54ftKVad3t+OK8IfFi7Juk5pHDYphqC560LJ+VqUssOPmj7BfCafGdU5vTVB\n kaHAdmzPotHA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9801\"; a=\"170131586\"", "E=Sophos;i=\"5.77,467,1596524400\"; d=\"scan'208\";a=\"170131586\"", "E=Sophos;i=\"5.77,467,1596524400\"; d=\"scan'208\";a=\"322967705\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Kumar Amber <kumar.amber@intel.com>", "To": "dev@dpdk.org", "Date": "Tue, 10 Nov 2020 23:34:09 +0530", "Message-Id": "<20201110180409.42133-1-kumar.amber@intel.com>", "X-Mailer": "git-send-email 2.17.1", "Subject": "[dpdk-dev] [PATCH v1] net/i40e: argument in RSS action should have\n\tqueue", "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": "The driver must check for the queue number\nin the RSS action list and if not should\nreturn with a proper error message to user.\n\nSigned-off-by: Kumar Amber <kumar.amber@intel.com>\n---\n drivers/net/i40e/i40e_flow.c | 11 +++++++++++\n 1 file changed, 11 insertions(+)", "diff": "diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c\nindex 5bec0c7a84..975340cb1a 100644\n--- a/drivers/net/i40e/i40e_flow.c\n+++ b/drivers/net/i40e/i40e_flow.c\n@@ -4917,6 +4917,17 @@ i40e_flow_parse_rss_action(struct rte_eth_dev *dev,\n \tNEXT_ITEM_OF_ACTION(act, actions, index);\n \trss = act->conf;\n \n+\t/**\n+\t * Check if Queue number is specified\n+\t * in argument else throw an error.\n+\t */\n+\tif (rss->queue == NULL) {\n+\t\trte_flow_error_set(error, EINVAL,\n+\t\t\tRTE_FLOW_ERROR_TYPE_ACTION,\n+\t\t\tact, \"Queue numbers not given.\");\n+\t\treturn -rte_errno;\n+\t}\n+\n \t/**\n \t * RSS only supports forwarding,\n \t * check if the first not void action is RSS.\n", "prefixes": [ "v1" ] }{ "id": 83915, "url": "