I just want to use ovs-2.8 for userspace connection-track, and I choose the latest LST DPDK 1705. But, you mean theres is something like broadcom-uio.ko when using broadcom NIC? I just have changed the config/common_base:
CONFIG_RTE_LIBRTE_BNX2X_PMD=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG_INIT=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG_RX=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG_TX=y CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT=y CONFIG_RTE_LIBRTE_BNX2X_DEBUG_PERIODIC=y 在 2017-11-14 12:49:44,"Shivaram Mysore" <[email protected]> 写道: Is there a specific reason as to why you would want to use this version of DPDK? I have never had to check permission. Also, igb is mainly for Intel NICs. You are using a Broadcom NIC - http://dpdk.org/doc/guides/nics/bnxt.html for driver info. I think what you have is a misconfiguration. You may want to check out the scripts here https://github.com/shivarammysore/faucetsdn-intel/tree/master/src/ubuntu/zesty/ovs_281 - to setup and configure DPDK. I have only used Intel NICs. Cheers! On Mon, Nov 13, 2017 at 6:50 PM, 王嵘 <[email protected]> wrote: hi, I'm using ovs2.8 with dpdk-17052, and the 'NetXtreme II BCM57810 10 Gigabit Ethernet 168e'. There comes the error, while I try to bind the NIC using igb_uio. 2017-11-14T02:25:18.400Z|00362|dpdk|INFO|EAL: probe driver: 14e4:168e net_bnx2x 2017-11-14T02:25:18.400Z|00363|dpdk|ERR|EAL: Cannot open /dev/uio0: Permission denied Then I chmod the file, like "chmod 777 /dev/uio0",(but I dont think this is right way.) but there comes other files with the same error, and I also chmod them. And I do the actions: chmod 777 /sys/bus/pci/devices/0000:20:00.1/* chmod 777 /sys/class/uio/uio0/device/config Then , restart the ovs-dpdk, But, there comes the following error: 2017-11-14T02:40:05.436Z|8384580|dpdk|ERR|PMD: pci_read(): Can't read from PCI config space 2017-11-14T02:40:05.436Z|8384581|dpdk|ERR|PMD: pci_read(): Can't read from PCI config space 2017-11-14T02:40:05.436Z|8384582|dpdk|ERR|PMD: pci_read(): Can't read from PCI config space 2017-11-14T02:40:05.436Z|8384583|dpdk|ERR|PMD: pci_read(): Can't read from PCI config space 2017-11-14T02:40:05.436Z|8384584|dpdk|INFO|PMD: bnx2x_pci_get_caps(): Failed to allocate memory 2017-11-14T02:40:05.436Z|8384585|dpdk|INFO|PMD: bnx2x_attach(): PCIe caps reading was failed 2017-11-14T02:40:05.436Z|8384586|dpdk|ERR|PMD: bnx2x_common_dev_init(): bnx2x_attach failed (-12) 2017-11-14T02:40:05.436Z|8384587|dpdk|ERR|EAL: Requested device 0000:20:00.1 cannot be used So, why there comes the Permission prolem? And what should I do for the PCIe error? Or it is the NIC drivers' problem? Thanks a lot. _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
