On 10/30/15, 8:08 AM, "Bernard Iremonger" <bernard.iremonger at intel.com> wrote:
>Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com> >Acked-by: Bruce Richardson <bruce.richardson at intel.com> >--- Acked-by: Yong Wang <yongwang at vmware.com> > drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c >b/drivers/net/vmxnet3/vmxnet3_ethdev.c >index a70be5c..2beee3e 100644 >--- a/drivers/net/vmxnet3/vmxnet3_ethdev.c >+++ b/drivers/net/vmxnet3/vmxnet3_ethdev.c >@@ -235,6 +235,8 @@ eth_vmxnet3_dev_init(struct rte_eth_dev *eth_dev) > if (rte_eal_process_type() != RTE_PROC_PRIMARY) > return 0; > >+ rte_eth_copy_dev_info(eth_dev, pci_dev); >+ > /* Vendor and Device ID need to be set before init of shared code */ > hw->device_id = pci_dev->id.device_id; > hw->vendor_id = pci_dev->id.vendor_id; >-- >1.9.1 >