ethdev: move info filling of PCI into drivers
[dpdk.git] / drivers / net / mlx5 / mlx5_ethdev.c
index c0f73e9..da1a3ca 100644 (file)
@@ -562,6 +562,8 @@ mlx5_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;
+
        priv_lock(priv);
        /* FIXME: we should ask the device for these values. */
        info->min_rx_bufsize = 32;