From patchwork Fri Sep 11 13:19:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qi Zhang X-Patchwork-Id: 77401 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EAD01A04B7; Fri, 11 Sep 2020 15:18:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0809D1C1AF; Fri, 11 Sep 2020 15:16:31 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id C336F1C133 for ; Fri, 11 Sep 2020 15:16:21 +0200 (CEST) IronPort-SDR: YnpfsBCG65Wcg+E5t/QsDsIqP6PgrpxKc1qkGslzc+ohZyGM+BitBy5mzlhhJGjlFSCq6rg4ot 5N8MTHaL5NMg== X-IronPort-AV: E=McAfee;i="6000,8403,9740"; a="146482211" X-IronPort-AV: E=Sophos;i="5.76,415,1592895600"; d="scan'208";a="146482211" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Sep 2020 06:16:21 -0700 IronPort-SDR: NpU76IGiu4Ujeib+UV4zLRaCqDRhKAoJXHPa2oVDep+/LE8zTZbacrPjWQBW662e3zHzDOlu9E UJ1SW1OqF3Wg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,415,1592895600"; d="scan'208";a="342296575" Received: from dpdk51.sh.intel.com ([10.67.111.82]) by FMSMGA003.fm.intel.com with ESMTP; 11 Sep 2020 06:16:20 -0700 From: Qi Zhang To: ferruh.yigit@intel.com Cc: dev@dpdk.org, Qi Zhang , Tony Nguyen Date: Fri, 11 Sep 2020 21:19:28 +0800 Message-Id: <20200911131954.15999-15-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> <20200911131954.15999-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH v2 14/40] net/ice/base: correct abbreviations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Correct abbreviations as identified by abbrevcheck Signed-off-by: Tony Nguyen Signed-off-by: Qi Zhang Acked-by: Qiming Yang --- drivers/net/ice/base/ice_flex_pipe.c | 6 +++--- drivers/net/ice/base/ice_sched.c | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/net/ice/base/ice_flex_pipe.c b/drivers/net/ice/base/ice_flex_pipe.c index 3df7b8596..d4b2e4f29 100644 --- a/drivers/net/ice/base/ice_flex_pipe.c +++ b/drivers/net/ice/base/ice_flex_pipe.c @@ -5228,7 +5228,7 @@ ice_prof_tcam_ena_dis(struct ice_hw *hw, enum ice_block blk, bool enable, /* for re-enabling, reallocate a TCAM */ /* for entries with empty attribute masks, allocate entry from - * the bottom of the tcam table; otherwise, allocate from the + * the bottom of the TCAM table; otherwise, allocate from the * top of the table in order to give it higher priority */ status = ice_alloc_tcam_ent(hw, blk, tcam->attr.mask == 0, @@ -5439,7 +5439,7 @@ ice_add_prof_id_vsig(struct ice_hw *hw, enum ice_block blk, u16 vsig, u64 hdl, /* allocate the TCAM entry index */ /* for entries with empty attribute masks, allocate entry from - * the bottom of the tcam table; otherwise, allocate from the + * the bottom of the TCAM table; otherwise, allocate from the * top of the table in order to give it higher priority */ status = ice_alloc_tcam_ent(hw, blk, map->attr[i].mask == 0, @@ -5872,7 +5872,7 @@ ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl) if (last_profile) { /* If there are no profiles left for this VSIG, - * then simply remove the the VSIG. + * then simply remove the VSIG. */ status = ice_rem_vsig(hw, blk, vsig, &chg); if (status) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index e189e95f7..f5f3b85d6 100644 --- a/drivers/net/ice/base/ice_sched.c +++ b/drivers/net/ice/base/ice_sched.c @@ -1435,14 +1435,14 @@ ice_sched_find_node_in_subtree(struct ice_hw *hw, struct ice_sched_node *base, } /** - * ice_sched_get_free_qgrp - Scan all Q group siblings and find a free node + * ice_sched_get_free_qgrp - Scan all queue group siblings and find a free node * @pi: port information structure * @vsi_node: software VSI handle - * @qgrp_node: first Q group node identified for scanning + * @qgrp_node: first queue group node identified for scanning * @owner: LAN or RDMA * - * This function retrieves a free LAN or RDMA Q group node by scanning - * qgrp_node and its siblings for the Q group with the fewest number + * This function retrieves a free LAN or RDMA queue group node by scanning + * qgrp_node and its siblings for the queue group with the fewest number * of queues currently assigned. */ static struct ice_sched_node * @@ -1459,17 +1459,17 @@ ice_sched_get_free_qgrp(struct ice_port_info *pi, if (!min_children) return qgrp_node; min_qgrp = qgrp_node; - /* scan all Q groups until find a node which has less than the - * minimum number of children. This way all Q group nodes get + /* scan all queue groups until find a node which has less than the + * minimum number of children. This way all queue group nodes get * equal number of shares and active. The bandwidth will be equally - * distributed across all Qs. + * distributed across all queues. */ while (qgrp_node) { /* make sure the qgroup node is part of the VSI subtree */ if (ice_sched_find_node_in_subtree(pi->hw, vsi_node, qgrp_node)) if (qgrp_node->num_children < min_children && qgrp_node->owner == owner) { - /* replace the new min Q group node */ + /* replace the new min queue group node */ min_qgrp = qgrp_node; min_children = min_qgrp->num_children; /* break if it has no children, */