Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/110053/?format=api
http://patches.dpdk.org/api/patches/110053/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220422005746.2300736-10-wenjun1.wu@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": "<20220422005746.2300736-10-wenjun1.wu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220422005746.2300736-10-wenjun1.wu@intel.com", "date": "2022-04-22T00:57:46", "name": "[v7,9/9] net/ice: add warning log for unsupported configuration", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "91557a71f50356cfb7562094d40dc56263628af2", "submitter": { "id": 2083, "url": "http://patches.dpdk.org/api/people/2083/?format=api", "name": "Wenjun Wu", "email": "wenjun1.wu@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/20220422005746.2300736-10-wenjun1.wu@intel.com/mbox/", "series": [ { "id": 22604, "url": "http://patches.dpdk.org/api/series/22604/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22604", "date": "2022-04-22T00:57:37", "name": "Enable ETS-based TX QoS on PF", "version": 7, "mbox": "http://patches.dpdk.org/series/22604/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/110053/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/110053/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 7052BA0093;\n\tFri, 22 Apr 2022 03:20:31 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 75DF34281D;\n\tFri, 22 Apr 2022 03:19:48 +0200 (CEST)", "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 0CB5442818\n for <dev@dpdk.org>; Fri, 22 Apr 2022 03:19:44 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Apr 2022 18:19:44 -0700", "from npg-wuwenjun-dpdk-01.sh.intel.com ([10.67.110.181])\n by orsmga002.jf.intel.com with ESMTP; 21 Apr 2022 18:19:43 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1650590385; x=1682126385;\n h=from:to:subject:date:message-id:in-reply-to:references:\n mime-version:content-transfer-encoding;\n bh=2eCpgJ8HfvMgvb9b/1hnsamUsWJENbAsnnAQ1v6zLss=;\n b=NTaM0Oj90wuEeL6Lvn2TUXOQnfn+3sv4NWfphvGTba8IWOQ3g0bNGpdw\n xOXzNQPa1FLn9yxvLxBgsSyVVBJE6XX0DVmM+NiA9Zc5zw9njadsGeNsg\n 5w0C3IBI7lUoD2sjcBQgl4ozkNKacOyhX4JcUh+24dAbMXm0L6F7MZNZ2\n HAGS/Mgb/PjKFfxEccGGg1iEZmeUndh8dyc4OrTfxkCQrbm8DAptXoGxs\n C+imtdBdhGfKLMjrtBnyhGgqXZ8PC9YruYmrVFHPsjLyiuAjYnZYtesXk\n 2UQWUmXCaunjuqfYNzYZGOxoyqiIaohCbQ7HNuaHnBuBSqp/NYWK+jgl3 w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10324\"; a=\"350972744\"", "E=Sophos;i=\"5.90,280,1643702400\"; d=\"scan'208\";a=\"350972744\"", "E=Sophos;i=\"5.90,280,1643702400\"; d=\"scan'208\";a=\"533816460\"" ], "X-ExtLoop1": "1", "From": "Wenjun Wu <wenjun1.wu@intel.com>", "To": "dev@dpdk.org,\n\tqiming.yang@intel.com,\n\tqi.z.zhang@intel.com", "Subject": "[PATCH v7 9/9] net/ice: add warning log for unsupported configuration", "Date": "Fri, 22 Apr 2022 08:57:46 +0800", "Message-Id": "<20220422005746.2300736-10-wenjun1.wu@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220422005746.2300736-1-wenjun1.wu@intel.com>", "References": "<20220329014813.1092054-1-wenjun1.wu@intel.com>\n <20220422005746.2300736-1-wenjun1.wu@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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" }, "content": "Priority configuration is enabled in level 3 and level 4.\nWeight configuration is enabled in level 4.\nThis patch adds warning log for unsupported priority\nand weight configuration.\n\nSigned-off-by: Wenjun Wu <wenjun1.wu@intel.com>\n---\n drivers/net/ice/ice_tm.c | 9 +++++++++\n 1 file changed, 9 insertions(+)", "diff": "diff --git a/drivers/net/ice/ice_tm.c b/drivers/net/ice/ice_tm.c\nindex 17f369994b..3e98c2f01e 100644\n--- a/drivers/net/ice/ice_tm.c\n+++ b/drivers/net/ice/ice_tm.c\n@@ -531,6 +531,15 @@ ice_tm_node_add(struct rte_eth_dev *dev, uint32_t node_id,\n \t\t\trte_calloc(NULL, 256, (sizeof(struct ice_tm_node *)), 0);\n \ttm_node->parent->children[tm_node->parent->reference_count] = tm_node;\n \n+\tif (tm_node->priority != 0 && level_id != ICE_TM_NODE_TYPE_QUEUE &&\n+\t level_id != ICE_TM_NODE_TYPE_QGROUP)\n+\t\tPMD_DRV_LOG(WARNING, \"priority != 0 not supported in level %d\",\n+\t\t\t level_id);\n+\n+\tif (tm_node->weight != 1 && level_id != ICE_TM_NODE_TYPE_QUEUE)\n+\t\tPMD_DRV_LOG(WARNING, \"weight != 1 not supported in level %d\",\n+\t\t\t level_id);\n+\n \trte_memcpy(&tm_node->params, params,\n \t\t\t sizeof(struct rte_tm_node_params));\n \tif (parent_node_type == ICE_TM_NODE_TYPE_PORT) {\n", "prefixes": [ "v7", "9/9" ] }{ "id": 110053, "url": "