From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tetsuya Mukawa Subject: Re: [PATCH] doc: Fix doxygen comments of rte_eth_dev_close() and rte_eth_dev_detach() Date: Thu, 09 Jul 2015 17:10:08 +0900 Message-ID: <559E2C60.4060109@igel.co.jp> References: <8CEF83825BEC744B83065625E567D7C204A46F17@IRSMSX108.ger.corp.intel.com> <1436420764-19513-1-git-send-email-mukawa@igel.co.jp> <1854437.Ftu1oaz8Ee@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by dpdk.org (Postfix) with ESMTP id ABCBC5A52 for ; Thu, 9 Jul 2015 10:10:12 +0200 (CEST) Received: by pacws9 with SMTP id ws9so148108234pac.0 for ; Thu, 09 Jul 2015 01:10:11 -0700 (PDT) In-Reply-To: <1854437.Ftu1oaz8Ee@xps13> 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" On 2015/07/09 16:28, Thomas Monjalon wrote: > 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." Sure, I will add it and submit again soon. Tetsuya