DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Unable to bind Intel XXV710 NIC using i40e driver (2.4.10)
@ 2018-10-10 13:19 Manojawa Paritala
  2018-10-10 16:55 ` Rami Rosen
  0 siblings, 1 reply; 2+ messages in thread
From: Manojawa Paritala @ 2018-10-10 13:19 UTC (permalink / raw)
  To: users

Hi,

I am trying to configure OVS+DPDK in my lab. I downloaded sources for both
OVS (2.9.2) and DPDK (18.02.2) and configured them successfully. Installed
the latest i40e 2.4.10 on the server (running Ubuntu 16.04 and kernel
4.4.0-137-generic). Now, when I am trying to bind an Intel XXV710 NIC (25
GigE) using the recommended i40e driver, I get the below error. I am able
to successfully bind using vfio-pci driver.

root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# python dpdk-devbind.py
--bind=i40e 0000:af:00.0

Warning - no supported modules(DPDK driver) are loaded

As far as I told, DPDK binding with i40e driver should be successful. But,
I get the above error. Additionally, I am seeing the same issues on another
similar server (running Ubuntu 16.04 and kernel 4.4.0-137-generic), on
which I installed openvswitch-switch-dpdk 2.9.0 package.

Below are more details. Can anyone of you please let me know if I am
missing anything?

----------------

root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# lsmod | grep i40e

i40evf                 98304 0

i40e                  348160 0

vxlan                  49152 1 i40e

ptp                    20480 1 i40e

root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# modinfo i40e

filename:
      /lib/modules/4.4.0-137-generic/updates/drivers/net/ethernet/intel/i40e/i40e.ko

version:        2.4.10

license:        GPL

description:    Intel(R) 40-10 Gigabit Ethernet Connection Network Driver

author:         Intel Corporation, <e1000-devel@lists.sourceforge.net>

srcversion:     3977C21019A3C4865FF253A

alias:          pci:v00008086d0000158Bsv*sd*bc*sc*i*

alias:          pci:v00008086d0000158Asv*sd*bc*sc*i*

alias:          pci:v00008086d000037D3sv*sd*bc*sc*i*

alias:          pci:v00008086d000037D2sv*sd*bc*sc*i*

alias:          pci:v00008086d000037D1sv*sd*bc*sc*i*

alias:          pci:v00008086d000037D0sv*sd*bc*sc*i*

alias:          pci:v00008086d000037CFsv*sd*bc*sc*i*

alias:          pci:v00008086d000037CEsv*sd*bc*sc*i*

alias:          pci:v00008086d00001588sv*sd*bc*sc*i*

alias:          pci:v00008086d00001587sv*sd*bc*sc*i*

alias:          pci:v00008086d00001589sv*sd*bc*sc*i*

alias:          pci:v00008086d00001586sv*sd*bc*sc*i*

alias:          pci:v00008086d00001585sv*sd*bc*sc*i*

alias:          pci:v00008086d00001584sv*sd*bc*sc*i*

alias:          pci:v00008086d00001583sv*sd*bc*sc*i*

alias:          pci:v00008086d00001581sv*sd*bc*sc*i*

alias:          pci:v00008086d00001580sv*sd*bc*sc*i*

alias:          pci:v00008086d00001574sv*sd*bc*sc*i*

alias:          pci:v00008086d00001572sv*sd*bc*sc*i*

depends:        ptp,vxlan

retpoline:      Y

vermagic:       4.4.0-137-generic SMP mod_unload modversions retpoline

parm:           debug:Debug level (0=none,...,16=all) (int)


root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# modinfo i40evf

filename:
      /lib/modules/4.4.0-137-generic/updates/drivers/net/ethernet/intel/i40evf/i40evf.ko

version:        3.5.13

license:        GPL

description:    Intel(R) 40-10 Gigabit Ethernet Virtual Function Driver

author:         Intel Corporation, <linux.nics@intel.com>

srcversion:     98D2D5B4F68357796C28807

alias:          pci:v00008086d00001889sv*sd*bc*sc*i*

alias:          pci:v00008086d000037CDsv*sd*bc*sc*i*

alias:          pci:v00008086d00001571sv*sd*bc*sc*i*

alias:          pci:v00008086d0000154Csv*sd*bc*sc*i*

depends:

retpoline:      Y

vermagic:       4.4.0-137-generic SMP mod_unload modversions retpoline


root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# python dpdk-devbind.py
--bind=i40e 0000:af:00.0

Warning - no supported modules(DPDK driver) are loaded

----------------------Successfully binding with vfio-pci
driver---------------

root@myhost:/home/ubuntu# dpdk-devbind --status-dev net

Network devices using DPDK-compatible driver

============================================

0000:af:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' drv=vfio-pci
unused=i40e

Network devices using kernel driver

===================================

0000:18:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth0
drv=i40e unused=vfio-pci

0000:18:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth1
drv=i40e unused=vfio-pci

0000:1a:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth2
drv=i40e unused=vfio-pci

0000:1a:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth3
drv=i40e unused=vfio-pci

0000:41:00.0 'Ethernet Connection X722 for 1GbE 37d1' if=eth4 drv=i40e
unused=vfio-pci

0000:41:00.1 'Ethernet Connection X722 for 1GbE 37d1' if=eth5 drv=i40e
unused=vfio-pci

0000:41:00.2 'Ethernet Connection X722 for 1GbE 37d1' if=eth6 drv=i40e
unused=vfio-pci

0000:41:00.3 'Ethernet Connection X722 for 1GbE 37d1' if=eth7 drv=i40e
unused=vfio-pci

0000:af:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth9
drv=i40e unused=vfio-pci

0000:b1:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth10
drv=i40e unused=vfio-pci *Active*

0000:b1:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth11
drv=i40e unused=vfio-pci

Other Network devices

=====================

<none>


Thanks & Regards,
Manoj

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

* Re: [dpdk-users] Unable to bind Intel XXV710 NIC using i40e driver (2.4.10)
  2018-10-10 13:19 [dpdk-users] Unable to bind Intel XXV710 NIC using i40e driver (2.4.10) Manojawa Paritala
@ 2018-10-10 16:55 ` Rami Rosen
  0 siblings, 0 replies; 2+ messages in thread
From: Rami Rosen @ 2018-10-10 16:55 UTC (permalink / raw)
  To: manojawapv; +Cc: users

Hi, Manoj,

What happens if you try to split it into the following sequence:

/usr/src/dpdk-stable-18.02.2/usertools# python dpdk-devbind.py
-u 0000:af:00.0

and then

python dpdk-devbind.py --bind=i40e 0000:af:00.0

Can you please post the logs ?

Regards,
Rami Rosen

On Wed, 10 Oct 2018 at 16:20, Manojawa Paritala <manojawapv@biarca.com> wrote:
>
> Hi,
>
> I am trying to configure OVS+DPDK in my lab. I downloaded sources for both
> OVS (2.9.2) and DPDK (18.02.2) and configured them successfully. Installed
> the latest i40e 2.4.10 on the server (running Ubuntu 16.04 and kernel
> 4.4.0-137-generic). Now, when I am trying to bind an Intel XXV710 NIC (25
> GigE) using the recommended i40e driver, I get the below error. I am able
> to successfully bind using vfio-pci driver.
>
> root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# python dpdk-devbind.py
> --bind=i40e 0000:af:00.0
>
> Warning - no supported modules(DPDK driver) are loaded
>
> As far as I told, DPDK binding with i40e driver should be successful. But,
> I get the above error. Additionally, I am seeing the same issues on another
> similar server (running Ubuntu 16.04 and kernel 4.4.0-137-generic), on
> which I installed openvswitch-switch-dpdk 2.9.0 package.
>
> Below are more details. Can anyone of you please let me know if I am
> missing anything?
>
> ----------------
>
> root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# lsmod | grep i40e
>
> i40evf                 98304 0
>
> i40e                  348160 0
>
> vxlan                  49152 1 i40e
>
> ptp                    20480 1 i40e
>
> root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# modinfo i40e
>
> filename:
>       /lib/modules/4.4.0-137-generic/updates/drivers/net/ethernet/intel/i40e/i40e.ko
>
> version:        2.4.10
>
> license:        GPL
>
> description:    Intel(R) 40-10 Gigabit Ethernet Connection Network Driver
>
> author:         Intel Corporation, <e1000-devel@lists.sourceforge.net>
>
> srcversion:     3977C21019A3C4865FF253A
>
> alias:          pci:v00008086d0000158Bsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000158Asv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000037D3sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000037D2sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000037D1sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000037D0sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000037CFsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000037CEsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001588sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001587sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001589sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001586sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001585sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001584sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001583sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001581sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001580sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001574sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001572sv*sd*bc*sc*i*
>
> depends:        ptp,vxlan
>
> retpoline:      Y
>
> vermagic:       4.4.0-137-generic SMP mod_unload modversions retpoline
>
> parm:           debug:Debug level (0=none,...,16=all) (int)
>
>
> root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# modinfo i40evf
>
> filename:
>       /lib/modules/4.4.0-137-generic/updates/drivers/net/ethernet/intel/i40evf/i40evf.ko
>
> version:        3.5.13
>
> license:        GPL
>
> description:    Intel(R) 40-10 Gigabit Ethernet Virtual Function Driver
>
> author:         Intel Corporation, <linux.nics@intel.com>
>
> srcversion:     98D2D5B4F68357796C28807
>
> alias:          pci:v00008086d00001889sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000037CDsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001571sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000154Csv*sd*bc*sc*i*
>
> depends:
>
> retpoline:      Y
>
> vermagic:       4.4.0-137-generic SMP mod_unload modversions retpoline
>
>
> root@myhost:/usr/src/dpdk-stable-18.02.2/usertools# python dpdk-devbind.py
> --bind=i40e 0000:af:00.0
>
> Warning - no supported modules(DPDK driver) are loaded
>
> ----------------------Successfully binding with vfio-pci
> driver---------------
>
> root@myhost:/home/ubuntu# dpdk-devbind --status-dev net
>
> Network devices using DPDK-compatible driver
>
> ============================================
>
> 0000:af:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' drv=vfio-pci
> unused=i40e
>
> Network devices using kernel driver
>
> ===================================
>
> 0000:18:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth0
> drv=i40e unused=vfio-pci
>
> 0000:18:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth1
> drv=i40e unused=vfio-pci
>
> 0000:1a:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth2
> drv=i40e unused=vfio-pci
>
> 0000:1a:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth3
> drv=i40e unused=vfio-pci
>
> 0000:41:00.0 'Ethernet Connection X722 for 1GbE 37d1' if=eth4 drv=i40e
> unused=vfio-pci
>
> 0000:41:00.1 'Ethernet Connection X722 for 1GbE 37d1' if=eth5 drv=i40e
> unused=vfio-pci
>
> 0000:41:00.2 'Ethernet Connection X722 for 1GbE 37d1' if=eth6 drv=i40e
> unused=vfio-pci
>
> 0000:41:00.3 'Ethernet Connection X722 for 1GbE 37d1' if=eth7 drv=i40e
> unused=vfio-pci
>
> 0000:af:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth9
> drv=i40e unused=vfio-pci
>
> 0000:b1:00.0 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth10
> drv=i40e unused=vfio-pci *Active*
>
> 0000:b1:00.1 'Ethernet Controller XXV710 for 25GbE SFP28 158b' if=eth11
> drv=i40e unused=vfio-pci
>
> Other Network devices
>
> =====================
>
> <none>
>
>
> Thanks & Regards,
> Manoj

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

end of thread, other threads:[~2018-10-10 16:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-10 13:19 [dpdk-users] Unable to bind Intel XXV710 NIC using i40e driver (2.4.10) Manojawa Paritala
2018-10-10 16:55 ` Rami Rosen

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).