Dear Harish,
Thanks very much for your reply and help. I have never enabled IOMMU. I have enabled those two flags and run the program again, now the error message is: EAL: PCI device 0000:82:00.0 on NUMA socket 1 EAL: probe driver: 1077:1644 net_qede [qede_common_dev_init:2198(82:00.0:dpdk-port-0)]Starting qede probe [QEDE PMD: ()]ecore_get_dev_info:device in CMT mode [ecore_get_dev_info:3384()]Chip details - BB B0, Num: 1634 Rev: 0001 Bond id: 0000 Metal: 0000 [ecore_hw_get_nvm_info:3024()]Multi function mode is 00000000 [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 1 [L2_QUEUE] differs from default values [64,0 vs. 256,0] [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 3 [RSS_ENG] differs from default values [128,0 vs. 127,0] [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 10 [LL2_QUEUE] differs from default values [32,0 vs. 48,0] [ecore_hw_get_nvm_info:3024()]Multi function mode is 00000000 [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 1 [L2_QUEUE] differs from default values [64,0 vs. 256,0] [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 3 [RSS_ENG] differs from default values [128,0 vs. 127,0] [__ecore_hw_set_resc_info:2683()]MFW allocation for resource 10 [LL2_QUEUE] differs from default values [32,0 vs. 48,0] [qed_nic_setup:83(82:00.0:dpdk-port-0)]Allocated qed resources [QEDE PMD: ()]ecore_init_cmd_array:Using zipped firmware without config enabled [QEDE PMD: ()]ecore_hw_init:init phase failed for loadcode 0x10100000 (rc -3) [qed_slowpath_start:289(82:00.0:dpdk-port-0)]ecore_hw_init failed [qede_common_dev_init:2245(82:00.0:dpdk-port-0)]Cannot start slowpath rc = -3 EAL: Requested device 0000:82:00.0 cannot be used Best wishes, Xiaoban ________________________________ From: Patil, Harish <harish.pa...@cavium.com> Sent: Tuesday, October 24, 2017 9:00 PM To: Wu, Xiaoban; us...@dpdk.org; dev@dpdk.org Subject: Re: [dpdk-dev] problem with Qlogic NIC QL45611H -----Original Message----- From: dev <dev-boun...@dpdk.org> on behalf of "Wu, Xiaoban" <xiaoban...@student.uml.edu> Date: Tuesday, October 24, 2017 at 5:36 PM To: "us...@dpdk.org" <us...@dpdk.org>, "dev@dpdk.org" <dev@dpdk.org> Subject: [dpdk-dev] problem with Qlogic NIC QL45611H >Dear All, > > >I am trying to run some DPDK applications with the QL45611H NIC, however >I am facing a problem I don't know how to solve, could somebody please >help me? > > >I am using ubuntu 14.04 with kernel 3.16 on a Dell server. > >I downloaded the driver and firmware from >http://driverdownloads.qlogic.com/QLogicDriverDownloads_UI/SearchByProduct >.aspx?ProductCategory=325&Product=1265&Os=5 > >I firstly installed the driver, and then I rebooted the machine. Then I >installed the firmware, then I rebooted machine. Then I could see the >interface eth9 by command ifconfig. And also, the tcpdump can show the >traffic. > >The firmware is updated to qed_init_values_zipped-8.20.2.0.bin > > >Then I downloaded the dpdk-17.05 and modified the config/common_base file >with >CONFIG_RTE_LIBRTE_QEDE_FW="/lib/firmware/qed/qed_init_values_zipped-8.20.2 >.0.bin". I then installed the DPDK by "make -j8 install >T=x86_64-native-linuxapp-gcc" > > >Then I run "sudo modprobe uio", "sudo insmod igb_uo.ko" and "sudo >dpdk-devbind.py --bind=igb_uio eth9" > > >Then I stared my dpdk application, it gave me the error message: > >EAL: PCI device 0000:82:00.0 on NUMA socket 1 >EAL: probe driver: 1077:1644 net_qede >[qed_slowpath_start:289(82:00.0:dpdk-port-0)]ecore_hw_init failed >[qede_common_dev_init:2245(82:00.0:dpdk-port-0)]Cannot start slowpath rc >= -3 >EAL: Requested device 0000:82:00.0 cannot be used > >Could anybody who has played with QLogic NIC please help me on how to >correctly start DPDK application step by step? Thanks very much for your >help. > >Best wishes, >Xiaoban [Harish] 1) Have you enabled IOMMU? If so, please try disabling it and try. 2) If (1) does not work then enable the below debug flag: CONFIG_RTE_LIBRTE_QEDE_DEBUG_INIT=y CONFIG_RTE_LIBRTE_QEDE_DEBUG_INFO=y and recompile using same make command and send the output. Thanks.