summaryrefslogtreecommitdiff
path: root/lib/librte_ether/rte_ethdev.c
diff options
context:
space:
mode:
authorJan Blunck <jblunck@infradead.org>2016-12-23 16:58:10 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-12-25 23:25:42 +0100
commitae34410a8a8aff1b8382e16fcc89353648355be0 (patch)
treeaefa9378782328cf1c5a9be96bb7d9b8b8b59fe1 /lib/librte_ether/rte_ethdev.c
parent0e1b45a284b4e3e55447c7e8a5757917d6b94509 (diff)
downloaddpdk-ae34410a8a8aff1b8382e16fcc89353648355be0.zip
dpdk-ae34410a8a8aff1b8382e16fcc89353648355be0.tar.gz
dpdk-ae34410a8a8aff1b8382e16fcc89353648355be0.tar.xz
ethdev: move info filling of PCI into drivers
Only the drivers itself can decide if it could fill PCI information fields of dev_info. Signed-off-by: Jan Blunck <jblunck@infradead.org> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Diffstat (limited to 'lib/librte_ether/rte_ethdev.c')
-rw-r--r--lib/librte_ether/rte_ethdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index b455850..8e02d2e 100644
--- a/lib/librte_ether/rte_ethdev.c
+++ b/lib/librte_ether/rte_ethdev.c
@@ -1604,7 +1604,6 @@ rte_eth_dev_info_get(uint8_t port_id, struct rte_eth_dev_info *dev_info)
RTE_FUNC_PTR_OR_RET(*dev->dev_ops->dev_infos_get);
(*dev->dev_ops->dev_infos_get)(dev, dev_info);
- dev_info->pci_dev = dev->pci_dev;
dev_info->driver_name = dev->data->drv_name;
dev_info->nb_rx_queues = dev->data->nb_rx_queues;
dev_info->nb_tx_queues = dev->data->nb_tx_queues;