ethdev: move info filling of PCI into drivers
[dpdk.git] / drivers / net / mlx4 / mlx4.c
index 82b51a7..ebcc9cb 100644 (file)
@@ -4421,6 +4421,8 @@ mlx4_dev_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *info)
        unsigned int max;
        char ifname[IF_NAMESIZE];
 
+       info->pci_dev = dev->pci_dev;
+
        if (priv == NULL)
                return;
        priv_lock(priv);