Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/77391/?format=api
http://patches.dpdk.org/api/patches/77391/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200911131954.15999-5-qi.z.zhang@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": "<20200911131954.15999-5-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200911131954.15999-5-qi.z.zhang@intel.com", "date": "2020-09-11T13:19:18", "name": "[v2,04/40] net/ice/base: fix issues around move nodes", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "8c7be69e38eb7be4f786c3a41d3b6b8cf9c9a665", "submitter": { "id": 504, "url": "http://patches.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.zhang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200911131954.15999-5-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 12148, "url": "http://patches.dpdk.org/api/series/12148/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12148", "date": "2020-09-11T13:19:15", "name": "ice base code update", "version": 2, "mbox": "http://patches.dpdk.org/series/12148/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/77391/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/77391/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 4FEBDA04B7;\n\tFri, 11 Sep 2020 15:16:45 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id AECFE1C117;\n\tFri, 11 Sep 2020 15:16:09 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id 1C9161C0CC;\n Fri, 11 Sep 2020 15:16:04 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 11 Sep 2020 06:16:04 -0700", "from dpdk51.sh.intel.com ([10.67.111.82])\n by FMSMGA003.fm.intel.com with ESMTP; 11 Sep 2020 06:16:03 -0700" ], "IronPort-SDR": [ "\n Mwoeqre70rQilq3/Zzteb/tj6BvwOhCeW1wOpntF4hOkup+sDP0auINxnSuNcGz+w/0UV6fJFa\n rNASzIidLM5g==", "\n CJ0phjyYGjf5I7jXSZH9/lxuWwDtE8riJGCAWLwykMhNWY6dkW/cptQWNbdXPlG6zH3zPBIm8K\n aiby0Ab+do6A==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9740\"; a=\"146482112\"", "E=Sophos;i=\"5.76,415,1592895600\"; d=\"scan'208\";a=\"146482112\"", "E=Sophos;i=\"5.76,415,1592895600\"; d=\"scan'208\";a=\"342296439\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Qi Zhang <qi.z.zhang@intel.com>", "To": "ferruh.yigit@intel.com", "Cc": "dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>, stable@dpdk.org,\n Victor Raj <victor.raj@intel.com>", "Date": "Fri, 11 Sep 2020 21:19:18 +0800", "Message-Id": "<20200911131954.15999-5-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.13.6", "In-Reply-To": "<20200911131954.15999-1-qi.z.zhang@intel.com>", "References": "<20200907112826.48493-1-qi.z.zhang@intel.com>\n <20200911131954.15999-1-qi.z.zhang@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 04/40] net/ice/base: fix issues around move\n\tnodes", "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": "1. Fixed the max children check when moving the last(8th) children. This\nallows the parent node to hold 8 children instead of 7.\n2. Check whether the VSI is already part of the given aggregator subtree\nbefore moving it.\n\nFixes: 29a0c11489ef (\"net/ice/base: clean code\")\nCc: stable@dpdk.org\n\nSigned-off-by: Victor Raj <victor.raj@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\nAcked-by: Qiming Yang <qiming.yang@intel.com>\n---\n drivers/net/ice/base/ice_sched.c | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c\nindex cf9a6a777..edd90aecb 100644\n--- a/drivers/net/ice/base/ice_sched.c\n+++ b/drivers/net/ice/base/ice_sched.c\n@@ -2267,7 +2267,7 @@ ice_sched_move_nodes(struct ice_port_info *pi, struct ice_sched_node *parent,\n \t\treturn ICE_ERR_PARAM;\n \n \t/* Does parent have enough space */\n-\tif (parent->num_children + num_items >=\n+\tif (parent->num_children + num_items >\n \t hw->max_children[parent->tx_sched_layer])\n \t\treturn ICE_ERR_AQ_FULL;\n \n@@ -2335,6 +2335,10 @@ ice_sched_move_vsi_to_agg(struct ice_port_info *pi, u16 vsi_handle, u32 agg_id,\n \tif (!vsi_node)\n \t\treturn ICE_ERR_DOES_NOT_EXIST;\n \n+\t/* Is this VSI already part of given aggregator? */\n+\tif (ice_sched_find_node_in_subtree(pi->hw, agg_node, vsi_node))\n+\t\treturn ICE_SUCCESS;\n+\n \taggl = ice_sched_get_agg_layer(pi->hw);\n \tvsil = ice_sched_get_vsi_layer(pi->hw);\n \n", "prefixes": [ "v2", "04/40" ] }{ "id": 77391, "url": "