From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 64923A04B5; Mon, 7 Sep 2020 13:26:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E2C491C1AC; Mon, 7 Sep 2020 13:24:54 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 35E531C1A0 for ; Mon, 7 Sep 2020 13:24:52 +0200 (CEST) IronPort-SDR: +p+FV8p5UXpJQmTZvOHSm2dDDqHtn5QDqjJVT/W7Y2zYadVGVeiW/7YiMG4ZiKA1+67/XQBieX yJSkevPAZPEw== X-IronPort-AV: E=McAfee;i="6000,8403,9736"; a="157252613" X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="157252613" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 04:24:51 -0700 IronPort-SDR: e9idkbNfmWr+WGgGtMUGhOH5NKzmNqFeLQtKlgMDuHa+3MgulL7DjST7t8x7hf+LJrmi4D+NeX QJLeTh2qeb/w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,401,1592895600"; d="scan'208";a="328058794" Received: from dpdk51.sh.intel.com ([10.67.111.82]) by fmsmga004.fm.intel.com with ESMTP; 07 Sep 2020 04:24:50 -0700 From: Qi Zhang To: qiming.yang@intel.com Cc: dev@dpdk.org, Qi Zhang , Tony Nguyen Date: Mon, 7 Sep 2020 19:28:00 +0800 Message-Id: <20200907112826.48493-15-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20200907112826.48493-1-qi.z.zhang@intel.com> References: <20200907112826.48493-1-qi.z.zhang@intel.com> Subject: [dpdk-dev] [PATCH 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 --- 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, */ -- 2.13.6