From patchwork Wed Mar 21 15:45:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Shelton X-Patchwork-Id: 36391 X-Patchwork-Delegate: cristian.dumitrescu@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5D5694C9D; Wed, 21 Mar 2018 16:45:50 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 5323C2BCD for ; Wed, 21 Mar 2018 16:45:49 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2018 08:45:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,340,1517904000"; d="scan'208";a="184766893" Received: from txasoft-yocto.an.intel.com (HELO txasoft-yocto.an.intel.com.) ([10.123.72.111]) by orsmga004.jf.intel.com with ESMTP; 21 Mar 2018 08:45:47 -0700 From: Ben Shelton To: dev@dpdk.org, Cristian Dumitrescu Cc: Ben Shelton Date: Wed, 21 Mar 2018 10:45:33 -0500 Message-Id: <1521647133-17843-1-git-send-email-benjamin.h.shelton@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH] ethdev: Fix issue in Doxygen for TM API 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" The rte_tm_node_wfq_weight_mode_update() API function operates on non-leaf nodes, not leaf nodes. Signed-off-by: Ben Shelton Acked-by: Cristian Dumitrescu --- lib/librte_ether/rte_tm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_tm.h b/lib/librte_ether/rte_tm.h index 2b25a87..f735f84 100644 --- a/lib/librte_ether/rte_tm.h +++ b/lib/librte_ether/rte_tm.h @@ -1643,7 +1643,7 @@ rte_tm_node_stats_update(uint16_t port_id, * @param[in] port_id * The port identifier of the Ethernet device. * @param[in] node_id - * Node ID. Needs to be valid leaf node ID. + * Node ID. Needs to be valid non-leaf node ID. * @param[in] wfq_weight_mode * WFQ weight mode for each SP priority. When NULL, it indicates that WFQ is * to be used for all priorities. When non-NULL, it points to a pre-allocated