drivers: copy fake PCI device info to ethdev data
authorBernard Iremonger <bernard.iremonger@intel.com>
Tue, 3 Nov 2015 13:01:57 +0000 (13:01 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 3 Nov 2015 17:39:42 +0000 (18:39 +0100)
commit8fb9e2bbf9958351cb8c2ed5bee6e68613dfaae2
treecdda1030dd04947de135644bd9ebf80cb6ca5da4
parenteeefe73f0af19a287b5dec1d0b63bb83821d8dc9
drivers: copy fake PCI device info to ethdev data

Initialise dev_flags, driver, kdrv, drv_name and numa_node fields
in eth_dev data.

for the following vdevs:
null
ring
pcap
af_packet
xenvirt
mpipe
bonding

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/af_packet/rte_eth_af_packet.c
drivers/net/bonding/rte_eth_bond_api.c
drivers/net/mpipe/mpipe_tilegx.c
drivers/net/null/rte_eth_null.c
drivers/net/pcap/rte_eth_pcap.c
drivers/net/ring/rte_eth_ring.c
drivers/net/xenvirt/rte_eth_xenvirt.c
lib/librte_eal/common/include/rte_pci.h