]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/enic/enic_ethdev.c
ethdev: move info filling of PCI into drivers
[dpdk.git] / drivers / net / enic / enic_ethdev.c
index f99730259c088fa20e3dd7d825dda167fc72be3d..ae6f39402e10bee5b047fef1d029ddaebbde5464 100644 (file)
@@ -459,6 +459,7 @@ static void enicpmd_dev_info_get(struct rte_eth_dev *eth_dev,
        struct enic *enic = pmd_priv(eth_dev);
 
        ENICPMD_FUNC_TRACE();
+       device_info->pci_dev = eth_dev->pci_dev;
        /* Scattered Rx uses two receive queues per rx queue exposed to dpdk */
        device_info->max_rx_queues = enic->conf_rq_count / 2;
        device_info->max_tx_queues = enic->conf_wq_count;