From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id E8004B613 for ; Mon, 16 Feb 2015 17:22:14 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 16 Feb 2015 08:22:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,588,1418112000"; d="scan'208";a="686416108" Received: from irsmsx107.ger.corp.intel.com ([163.33.3.99]) by orsmga002.jf.intel.com with ESMTP; 16 Feb 2015 08:22:12 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.218]) by IRSMSX107.ger.corp.intel.com ([169.254.10.35]) with mapi id 14.03.0195.001; Mon, 16 Feb 2015 16:22:10 +0000 From: "Iremonger, Bernard" To: Tetsuya Mukawa , "dev@dpdk.org" Thread-Topic: [PATCH v8 06/14] eal,ethdev: Add a function and function pointers to close ether device Thread-Index: AQHQSZ8wYxweq3rb7Ee8cv3XocSOUJzzdgFw Date: Mon, 16 Feb 2015 16:22:09 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C2049E8110@IRSMSX108.ger.corp.intel.com> References: <1423470639-15744-2-git-send-email-mukawa@igel.co.jp> <1424060073-23484-7-git-send-email-mukawa@igel.co.jp> In-Reply-To: <1424060073-23484-7-git-send-email-mukawa@igel.co.jp> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v8 06/14] eal, ethdev: Add a function and function pointers to close ether device X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2015 16:22:15 -0000 > -----Original Message----- > From: Tetsuya Mukawa [mailto:mukawa@igel.co.jp] > Sent: Monday, February 16, 2015 4:14 AM > To: dev@dpdk.org > Cc: Qiu, Michael; Iremonger, Bernard; Tetsuya Mukawa > Subject: [PATCH v8 06/14] eal,ethdev: Add a function and function pointer= s to close ether device >=20 > The patch adds function pointer to rte_pci_driver and eth_driver structur= e. These function pointers > are used when ports are detached. > Also, the patch adds rte_eth_dev_uninit(). So far, it's not called by any= where, but it will be called > when port hotplug function is implemented. >=20 > v6: > - Fix rte_eth_dev_uninit() to handle a return value of uninit > function of PMD. > v4: > - Add parameter checking. > - Change function names. >=20 > Signed-off-by: Tetsuya Mukawa Acked-by: Bernard Iremonger