From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] doc: Fix doxygen comments of rte_eth_dev_close() and rte_eth_dev_detach() Date: Thu, 09 Jul 2015 09:28:07 +0200 Message-ID: <1854437.Ftu1oaz8Ee@xps13> References: <8CEF83825BEC744B83065625E567D7C204A46F17@IRSMSX108.ger.corp.intel.com> <1436420764-19513-1-git-send-email-mukawa@igel.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Tetsuya Mukawa Return-path: Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by dpdk.org (Postfix) with ESMTP id 3C3B4952 for ; Thu, 9 Jul 2015 09:29:14 +0200 (CEST) Received: by wifm2 with SMTP id m2so9773845wif.1 for ; Thu, 09 Jul 2015 00:29:13 -0700 (PDT) In-Reply-To: <1436420764-19513-1-git-send-email-mukawa@igel.co.jp> 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" 2015-07-09 14:46, Tetsuya Mukawa: > The patch fixes doxygen comments of below functions. > - rte_eth_dev_close() > Add description about what kind of resources will be freed. > - rte_eth_dev_detach() > Add description about when the function can be called. > > Signed-off-by: Tetsuya Mukawa > /** > * Close an Ethernet device. The device cannot be restarted! > + * The function frees all resources except for needed by the > + * closed state. To free these resources, call rte_eth_dev_detach(). Maybe we should tell that stop must be called before close: "Close a stopped Ethernet device."