DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] problem with Qlogic NIC QL45611H
@ 2017-10-25  0:36 Wu, Xiaoban
  2017-10-25  1:00 ` [dpdk-users] [dpdk-dev] " Patil, Harish
  0 siblings, 1 reply; 3+ messages in thread
From: Wu, Xiaoban @ 2017-10-25  0:36 UTC (permalink / raw)
  To: users, dev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] [dpdk-dev] problem with Qlogic NIC QL45611H
  2017-10-25  0:36 [dpdk-users] problem with Qlogic NIC QL45611H Wu, Xiaoban
@ 2017-10-25  1:00 ` Patil, Harish
  2017-10-25  1:38   ` Wu, Xiaoban
  0 siblings, 1 reply; 3+ messages in thread
From: Patil, Harish @ 2017-10-25  1:00 UTC (permalink / raw)
  To: Wu, Xiaoban, users, dev

-----Original Message-----
From: dev <dev-bounces@dpdk.org> on behalf of "Wu, Xiaoban"
<Xiaoban_Wu@student.uml.edu>
Date: Tuesday, October 24, 2017 at 5:36 PM
To: "users@dpdk.org" <users@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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] [dpdk-dev] problem with Qlogic NIC QL45611H
  2017-10-25  1:00 ` [dpdk-users] [dpdk-dev] " Patil, Harish
@ 2017-10-25  1:38   ` Wu, Xiaoban
  0 siblings, 0 replies; 3+ messages in thread
From: Wu, Xiaoban @ 2017-10-25  1:38 UTC (permalink / raw)
  To: Patil, Harish, users, dev

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.Patil@cavium.com>
Sent: Tuesday, October 24, 2017 9:00 PM
To: Wu, Xiaoban; users@dpdk.org; dev@dpdk.org
Subject: Re: [dpdk-dev] problem with Qlogic NIC QL45611H

-----Original Message-----
From: dev <dev-bounces@dpdk.org> on behalf of "Wu, Xiaoban"
<Xiaoban_Wu@student.uml.edu>
Date: Tuesday, October 24, 2017 at 5:36 PM
To: "users@dpdk.org" <users@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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-25  1:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25  0:36 [dpdk-users] problem with Qlogic NIC QL45611H Wu, Xiaoban
2017-10-25  1:00 ` [dpdk-users] [dpdk-dev] " Patil, Harish
2017-10-25  1:38   ` Wu, Xiaoban

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).