[dpdk-dev] [PATCH v8 11/14] ethdev: Add one dev_type parameter to rte_eth_dev_allocate

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Feb 17 02:24:03 CET 2015


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.



More information about the dev mailing list