[dpdk-users] SR-IOV problem with dpdk drivers

Kyle Larose klarose at sandvine.com
Thu Jul 20 15:36:45 CEST 2017


I’m not an expert, but my guess is that your PF is running a very different version of the i40e driver, and because of this the two cannot communicate. I personally have never seen this before. Perhaps google has?

From: SAKTHIVEL ANAND S [mailto:anand.sa88 at gmail.com]
Sent: Thursday, July 20, 2017 6:57 PM
To: Kyle Larose
Cc: users at dpdk.org
Subject: Re: [dpdk-users] SR-IOV problem with dpdk drivers

Thanks Kyle , yes i loaded the .ko files and i am able to bind to DPDK driver now. But when i am running testpmd, it shows the below error message.

root at ubuntu:~/dpdk-stable-17.05.1/bin#<mailto:root at ubuntu:~/dpdk-stable-17.05.1/bin#> ./testpmd -c7 -n1 -- -i --nb-cores=2 --nb-ports=2 --total-num-mbufs=1024
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: PCI device 0000:03:00.0 on NUMA socket -1
EAL:   probe driver: 8086:154c net_i40e_vf
i40evf_init_vf(): init_adminq failed
i40evf_dev_init(): Init vf failed
EAL: Requested device 0000:03:00.0 cannot be used
EAL: PCI device 0000:04:00.0 on NUMA socket -1
EAL:   probe driver: 15ad:7b0 net_vmxnet3
EAL: PCI device 0000:0b:00.0 on NUMA socket -1
EAL:   probe driver: 8086:154c net_i40e_vf
i40evf_check_api_version(): PF/VF API version mismatch:(0.0)-(1.1)
i40evf_init_vf(): check_api version failed
i40evf_dev_init(): Init vf failed
EAL: Requested device 0000:0b:00.0 cannot be used
EAL: PCI device 0000:13:00.0 on NUMA socket -1
EAL:   probe driver: 15ad:7b0 net_vmxnet3
EAL: PCI device 0000:1b:00.0 on NUMA socket -1
EAL:   probe driver: 15ad:7b0 net_vmxnet3
EAL: No probed ethernet devices
Interactive-mode selected
EAL: Error - exiting with code: 1
  Cause: Invalid port 2
pls help me ti resolve this.
Thanks
Sakthivel S OM

On Thu, Jul 20, 2017 at 4:01 PM, Kyle Larose <klarose at sandvine.com<mailto:klarose at sandvine.com>> wrote:
Hi

> -----Original Message-----
> From: users [mailto:users-bounces at dpdk.org<mailto:users-bounces at dpdk.org>] On Behalf Of SAKTHIVEL
> ANAND S
> Sent: Thursday, July 20, 2017 3:05 PM
> To: users at dpdk.org<mailto:users at dpdk.org>
> Subject: [dpdk-users] SR-IOV problem with dpdk drivers
>
> Hi
>
> I am facing problem when i tried to bring up my SR-IOV interfaces in to dpdk
> compatible driver..
> could someone pls help where i have missed?
>
> ERROR:
>
> root at ubuntu:~# ./dpdk-devbind.py -b igb_uio 0b:00.0
> Error: bind failed for 0000:0b:00.0 - Cannot open
> /sys/bus/pci/drivers/igb_uio/bind
>


Is the igb_uio kernel module loaded? lsmod should say. If not, run 'modprobe igb_uio', then try again.

> DPDK: 17.05.1
> ubuntu:16.04.2
> Nic: Intel XL710/X710
> --
> Thanks
> Sakthivel S OM



--
Thanks
Sakthivel S OM


More information about the users mailing list