From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] ethdev: fix a typo in eth device API doc Date: Wed, 24 Aug 2016 18:06:26 +0200 Message-ID: <1554992.ZnaOu0qKpl@xps13> References: <1470030588-7825-1-git-send-email-nikhil.rao@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, john.mcnamara@intel.com To: Nikhil Rao Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 355FB559A for ; Wed, 24 Aug 2016 18:06:29 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id o80so34726847wme.1 for ; Wed, 24 Aug 2016 09:06:29 -0700 (PDT) In-Reply-To: <1470030588-7825-1-git-send-email-nikhil.rao@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-08-01 11:19, Nikhil Rao: > This patch fixes a typo in the eth device API doc, device > config. not stored between calls to rte_eth_dev_start/stop() > should be restored before a call to rte_eth_dev_start() > instead of after a call to rte_eth_dev_start(). > > Signed-off-by: Nikhil Rao [...] > --- a/lib/librte_ether/rte_ethdev.h > +++ b/lib/librte_ether/rte_ethdev.h > @@ -118,7 +118,7 @@ > * - NIC queue statistics mappings > * > * Any other configuration will not be stored and will need to be re-entered > - * after a call to rte_eth_dev_start(). > + * before a call to rte_eth_dev_start(). I have some doubts about this and above comment. I think we should give move details in the comments of the functions, instead of this (not often read) global comment.