ethdev: add device fields from PCI layer
authorBernard Iremonger <bernard.iremonger@intel.com>
Tue, 3 Nov 2015 13:01:55 +0000 (13:01 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 3 Nov 2015 17:39:23 +0000 (18:39 +0100)
commit494adb7f63f20bbe1e98504085c7bda66c418c85
tree2faca816f63e0f137c3b647e1092f48326cddf53
parent67b6d3039e9edbc4624c878c6930be5e126e8b58
ethdev: add device fields from PCI layer

The driver fields have been added the rte_eth_dev_data so that it is no
longer necessary access this data through the pci_dev pointer.

The following fields have been added to rte_eth_dev_data:

dev_flags, and macros for dev_flags.
kdrv
numa_node
drv_name

Add function rte_eth_copy_pci_info

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
[Thomas: remove useless flags]
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h
lib/librte_ether/rte_ether_version.map