From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v8 11/14] ethdev: Add one dev_type parameter to rte_eth_dev_allocate Date: Tue, 17 Feb 2015 02:24:03 +0100 Message-ID: <1454524.7cdRN9bmFB@xps13> References: <1423470639-15744-2-git-send-email-mukawa@igel.co.jp> <1424060073-23484-1-git-send-email-mukawa@igel.co.jp> <1424060073-23484-12-git-send-email-mukawa@igel.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Tetsuya Mukawa Return-path: In-Reply-To: <1424060073-23484-12-git-send-email-mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2015-02-16 13:14, Tetsuya Mukawa: > This new parameter is needed to keep device type like physical or virtual. Actually types are "PCI" and "virtual". > Port detaching processes are different between physical and virtual. > This parameter lets detaching function know a device type of the port. I think the type should be guessed automatically thanks to register infos.