From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Matz Subject: Re: [dpdk-stable] [PATCH 2/2] ethdev: clarify xstats Api documentation Date: Fri, 16 Dec 2016 15:36:10 +0100 Message-ID: <20161216153610.546941f7@platinum> References: <1481881454-17382-1-git-send-email-olivier.matz@6wind.com> <1481881454-17382-2-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , "thomas.monjalon@6wind.com" , "Horton, Remy" , "stable@dpdk.org" To: "Mcnamara, John" Return-path: Received: from mail-wj0-f174.google.com (mail-wj0-f174.google.com [209.85.210.174]) by dpdk.org (Postfix) with ESMTP id 231D34B79 for ; Fri, 16 Dec 2016 15:36:13 +0100 (CET) Received: by mail-wj0-f174.google.com with SMTP id v7so94961617wjy.2 for ; Fri, 16 Dec 2016 06:36:13 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi John, On Fri, 16 Dec 2016 14:28:21 +0000, "Mcnamara, John" wrote: > > -----Original Message----- > > From: stable [mailto:stable-bounces@dpdk.org] On Behalf Of Olivier > > Matz Sent: Friday, December 16, 2016 9:44 AM > > To: dev@dpdk.org; thomas.monjalon@6wind.com > > Cc: Horton, Remy ; stable@dpdk.org > > Subject: [dpdk-stable] [PATCH 2/2] ethdev: clarify xstats Api > > documentation > > > > Reword the Api documentation of xstats ethdev. > > > > CC: stable@dpdk.org > > Signed-off-by: Olivier Matz > > --- > > lib/librte_ether/rte_ethdev.h | 45 > > ++++++++++++++++++++++++-------------- ----- > > ... > > int rte_eth_xstats_get_names(uint8_t port_id, > > struct rte_eth_xstat_name *xstats_names, @@ > > -2296,19 +2300,20 @@ int rte_eth_xstats_get_names(uint8_t port_id, > > * The port identifier of the Ethernet device. > > * @param xstats > > * A pointer to a table of structure of type *rte_eth_xstat* > > - * to be filled with device statistics ids and values. > > + * to be filled with device statistics ids and values: id is the > > + * index of the name string in xstats_names (@see > > rte_eth_xstats_get_names), > > The @see directive starts a new "See also" section and > breaks/interrupts the parameter description. Probably what you want > is: > > index of the name string in xstats_names (see > rte_eth_xstats_get_names()), > > Otherwise it is a good update. > > John Thank you for the review. I'll send a new version of the patch addressing this. Regards, Olivier