Hello
  My name is yangyunlong,I am Chinese ??I use  openvswitch-2.8.1 with 
dpdk-17.11.tar, my system is Linux version 4.9.29, gcc version is 5.4.0. when I 
compile Open vSwitch with DPDK, I compile failed?? I found a bug in Open 
vSwitch??I found  an error refer to line 2453 and 2455 of 
netdev-dpdk.c??pci_dev in line 2453 and 2455 is an element of 
dev_info??dev_info is a type of struct rte_eth_dev_info??defined in 
rte_ethdev.h . pci_dev in rte_eth_dev_info is a type of strict rte_pci_device, 
just declared in line 1007 of rte_ethdev.h. so  pci_dev in dev_info is 
incompleted ,we can??t use its elements, but you use  
dev_info.pci_dev->is.vendor_id and dev_info.pci_dev->is.device_id in line 2453 
and 2455 of netdev-dpdk.c ?? so i compile failed. I include rte_bus_pci.h in 
front of netdev-dpdk.c ??I compile successed.
    I write this email just want to help you to correct it, help Open vSwitch 
better and better ??
????????iPhone
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to