* [dpdk-users] SR-IOV problem with dpdk drivers @ 2017-07-20 9:34 SAKTHIVEL ANAND S 2017-07-20 10:31 ` Kyle Larose 0 siblings, 1 reply; 9+ messages in thread From: SAKTHIVEL ANAND S @ 2017-07-20 9:34 UTC (permalink / raw) To: users 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@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 DPDK: 17.05.1 ubuntu:16.04.2 Nic: Intel XL710/X710 -- Thanks Sakthivel S OM ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-users] SR-IOV problem with dpdk drivers 2017-07-20 9:34 [dpdk-users] SR-IOV problem with dpdk drivers SAKTHIVEL ANAND S @ 2017-07-20 10:31 ` Kyle Larose 2017-07-20 13:26 ` SAKTHIVEL ANAND S 0 siblings, 1 reply; 9+ messages in thread From: Kyle Larose @ 2017-07-20 10:31 UTC (permalink / raw) To: SAKTHIVEL ANAND S, users Hi > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org] On Behalf Of SAKTHIVEL > ANAND S > Sent: Thursday, July 20, 2017 3:05 PM > To: users@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@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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-users] SR-IOV problem with dpdk drivers 2017-07-20 10:31 ` Kyle Larose @ 2017-07-20 13:26 ` SAKTHIVEL ANAND S 2017-07-20 13:36 ` Kyle Larose 0 siblings, 1 reply; 9+ messages in thread From: SAKTHIVEL ANAND S @ 2017-07-20 13:26 UTC (permalink / raw) To: Kyle Larose; +Cc: users 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@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 -1EAL: probe driver: 8086:154c net_i40e_vfi40evf_init_vf(): init_adminq failedi40evf_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 -1EAL: probe driver: 8086:154c net_i40e_vfi40evf_check_api_version(): PF/VF API version mismatch:(0.0)-(1.1)i40evf_init_vf(): check_api version failedi40evf_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@sandvine.com> wrote: > Hi > > > -----Original Message----- > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of SAKTHIVEL > > ANAND S > > Sent: Thursday, July 20, 2017 3:05 PM > > To: users@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@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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-users] SR-IOV problem with dpdk drivers 2017-07-20 13:26 ` SAKTHIVEL ANAND S @ 2017-07-20 13:36 ` Kyle Larose 2017-07-26 11:35 ` SAKTHIVEL ANAND S 0 siblings, 1 reply; 9+ messages in thread From: Kyle Larose @ 2017-07-20 13:36 UTC (permalink / raw) To: SAKTHIVEL ANAND S; +Cc: users 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@gmail.com] Sent: Thursday, July 20, 2017 6:57 PM To: Kyle Larose Cc: users@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@ubuntu:~/dpdk-stable-17.05.1/bin#<mailto:root@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@sandvine.com<mailto:klarose@sandvine.com>> wrote: Hi > -----Original Message----- > From: users [mailto:users-bounces@dpdk.org<mailto:users-bounces@dpdk.org>] On Behalf Of SAKTHIVEL > ANAND S > Sent: Thursday, July 20, 2017 3:05 PM > To: users@dpdk.org<mailto:users@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@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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-users] SR-IOV problem with dpdk drivers 2017-07-20 13:36 ` Kyle Larose @ 2017-07-26 11:35 ` SAKTHIVEL ANAND S 2017-07-26 12:32 ` Raju-dev grishma 0 siblings, 1 reply; 9+ messages in thread From: SAKTHIVEL ANAND S @ 2017-07-26 11:35 UTC (permalink / raw) To: Kyle Larose; +Cc: users i just upgraded the Intel NIC firmware and still there is no improvement for this.. It is falling under same issue. Following are NIC firmware details. ethtool -i vmnic4 driver: i40e version: 1.3.45 firmware-version: 5.60 0x80002dab 1.1618.0 bus-info: 0000:05:00.0 Can someone pls help me to fix this. is this known issue, or did i missed something? Thanks in Advance Sakthivel S OM On Thu, Jul 20, 2017 at 7:06 PM, Kyle Larose <klarose@sandvine.com> wrote: > 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@gmail.com] > *Sent:* Thursday, July 20, 2017 6:57 PM > *To:* Kyle Larose > *Cc:* users@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@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@sandvine.com> wrote: > > Hi > > > -----Original Message----- > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of SAKTHIVEL > > ANAND S > > Sent: Thursday, July 20, 2017 3:05 PM > > To: users@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@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 > -- Thanks Sakthivel S OM ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-users] SR-IOV problem with dpdk drivers 2017-07-26 11:35 ` SAKTHIVEL ANAND S @ 2017-07-26 12:32 ` Raju-dev grishma 2017-07-26 13:08 ` SAKTHIVEL ANAND S 0 siblings, 1 reply; 9+ messages in thread From: Raju-dev grishma @ 2017-07-26 12:32 UTC (permalink / raw) To: SAKTHIVEL ANAND S; +Cc: Kyle Larose, users hello Sakthivel, Can you try if on this VM, the kernel can see the interfaces and ping works with those interfaces? Secondly did you try with older version of DPDK ? Tx On Wed, Jul 26, 2017 at 5:05 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com> wrote: > i just upgraded the Intel NIC firmware and still there is no improvement > for this.. It is falling under same issue. Following are NIC firmware > details. > > ethtool -i vmnic4 > > driver: i40e > > version: 1.3.45 > > firmware-version: 5.60 0x80002dab 1.1618.0 > > bus-info: 0000:05:00.0 > > Can someone pls help me to fix this. is this known issue, or did i missed > something? > > Thanks in Advance > > Sakthivel S OM > > On Thu, Jul 20, 2017 at 7:06 PM, Kyle Larose <klarose@sandvine.com> wrote: > > > 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@gmail.com] > > *Sent:* Thursday, July 20, 2017 6:57 PM > > *To:* Kyle Larose > > *Cc:* users@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@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@sandvine.com> > wrote: > > > > Hi > > > > > -----Original Message----- > > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of SAKTHIVEL > > > ANAND S > > > Sent: Thursday, July 20, 2017 3:05 PM > > > To: users@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@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 > > > > > > -- > Thanks > Sakthivel S OM > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-users] SR-IOV problem with dpdk drivers 2017-07-26 12:32 ` Raju-dev grishma @ 2017-07-26 13:08 ` SAKTHIVEL ANAND S 2017-07-27 3:00 ` Raju-dev grishma 0 siblings, 1 reply; 9+ messages in thread From: SAKTHIVEL ANAND S @ 2017-07-26 13:08 UTC (permalink / raw) To: Raju-dev grishma; +Cc: Kyle Larose, users Thanks Raju.. These SR-IOV interfaces are reachable with linux drivers and also i have verified with dpdk 2.2.0, which is running without any issues. But when i bring in dpdk17.05, it failed to come up with above mentioned error messages. please help me if, is it known issue with new SR-IOV drivers? or did i miss something? -Sakthivel S On Wed, Jul 26, 2017 at 6:02 PM, Raju-dev grishma <rajugrishma@gmail.com> wrote: > hello Sakthivel, > Can you try if on this VM, the kernel can see the interfaces and ping > works with those interfaces? > Secondly did you try with older version of DPDK ? > > Tx > > > On Wed, Jul 26, 2017 at 5:05 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com> > wrote: > >> i just upgraded the Intel NIC firmware and still there is no improvement >> for this.. It is falling under same issue. Following are NIC firmware >> details. >> >> ethtool -i vmnic4 >> >> driver: i40e >> >> version: 1.3.45 >> >> firmware-version: 5.60 0x80002dab 1.1618.0 >> >> bus-info: 0000:05:00.0 >> >> Can someone pls help me to fix this. is this known issue, or did i missed >> something? >> >> Thanks in Advance >> >> Sakthivel S OM >> >> On Thu, Jul 20, 2017 at 7:06 PM, Kyle Larose <klarose@sandvine.com> >> wrote: >> >> > 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@gmail.com] >> > *Sent:* Thursday, July 20, 2017 6:57 PM >> > *To:* Kyle Larose >> > *Cc:* users@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@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@sandvine.com> >> wrote: >> > >> > Hi >> > >> > > -----Original Message----- >> > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of SAKTHIVEL >> > > ANAND S >> > > Sent: Thursday, July 20, 2017 3:05 PM >> > > To: users@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@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 >> > >> >> >> >> -- >> Thanks >> Sakthivel S OM >> > > -- Thanks Sakthivel S OM ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-users] SR-IOV problem with dpdk drivers 2017-07-26 13:08 ` SAKTHIVEL ANAND S @ 2017-07-27 3:00 ` Raju-dev grishma 2017-07-27 10:12 ` SAKTHIVEL ANAND S 0 siblings, 1 reply; 9+ messages in thread From: Raju-dev grishma @ 2017-07-27 3:00 UTC (permalink / raw) To: SAKTHIVEL ANAND S; +Cc: Kyle Larose, users Linux driver works, DPDK older version works but not dpdk 17.05. Then it seems the dpdk driver of 17.05 has some issues to work with vmware hypervisors. On Wed, Jul 26, 2017 at 6:38 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com> wrote: > Thanks Raju.. > > These SR-IOV interfaces are reachable with linux drivers and also i have > verified with dpdk 2.2.0, which is running without any issues. > But when i bring in dpdk17.05, it failed to come up with above mentioned > error messages. > > please help me if, is it known issue with new SR-IOV drivers? or did i > miss something? > > -Sakthivel S > > On Wed, Jul 26, 2017 at 6:02 PM, Raju-dev grishma <rajugrishma@gmail.com> > wrote: > >> hello Sakthivel, >> Can you try if on this VM, the kernel can see the interfaces and ping >> works with those interfaces? >> Secondly did you try with older version of DPDK ? >> >> Tx >> >> >> On Wed, Jul 26, 2017 at 5:05 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com> >> wrote: >> >>> i just upgraded the Intel NIC firmware and still there is no improvement >>> for this.. It is falling under same issue. Following are NIC firmware >>> details. >>> >>> ethtool -i vmnic4 >>> >>> driver: i40e >>> >>> version: 1.3.45 >>> >>> firmware-version: 5.60 0x80002dab 1.1618.0 >>> >>> bus-info: 0000:05:00.0 >>> >>> Can someone pls help me to fix this. is this known issue, or did i missed >>> something? >>> >>> Thanks in Advance >>> >>> Sakthivel S OM >>> >>> On Thu, Jul 20, 2017 at 7:06 PM, Kyle Larose <klarose@sandvine.com> >>> wrote: >>> >>> > 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@gmail.com] >>> > *Sent:* Thursday, July 20, 2017 6:57 PM >>> > *To:* Kyle Larose >>> > *Cc:* users@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@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@sandvine.com> >>> wrote: >>> > >>> > Hi >>> > >>> > > -----Original Message----- >>> > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of SAKTHIVEL >>> > > ANAND S >>> > > Sent: Thursday, July 20, 2017 3:05 PM >>> > > To: users@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@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 >>> > >>> >>> >>> >>> -- >>> Thanks >>> Sakthivel S OM >>> >> >> > > > -- > Thanks > Sakthivel S OM > > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-users] SR-IOV problem with dpdk drivers 2017-07-27 3:00 ` Raju-dev grishma @ 2017-07-27 10:12 ` SAKTHIVEL ANAND S 0 siblings, 0 replies; 9+ messages in thread From: SAKTHIVEL ANAND S @ 2017-07-27 10:12 UTC (permalink / raw) To: Raju-dev grishma, dev; +Cc: Kyle Larose, users +dev-dpdk can help here.. I have removed SR-IOV and made those interfaces as PIC-passthrough and that is working without any issues. So, Yes! this could be problem with virtual function driver(i40evf). Thanks On Thu, Jul 27, 2017 at 8:30 AM, Raju-dev grishma <rajugrishma@gmail.com> wrote: > Linux driver works, DPDK older version works but not dpdk 17.05. > Then it seems the dpdk driver of 17.05 has some issues to work with vmware > hypervisors. > > > > On Wed, Jul 26, 2017 at 6:38 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com> > wrote: > >> Thanks Raju.. >> >> These SR-IOV interfaces are reachable with linux drivers and also i have >> verified with dpdk 2.2.0, which is running without any issues. >> But when i bring in dpdk17.05, it failed to come up with above mentioned >> error messages. >> >> please help me if, is it known issue with new SR-IOV drivers? or did i >> miss something? >> >> -Sakthivel S >> >> On Wed, Jul 26, 2017 at 6:02 PM, Raju-dev grishma <rajugrishma@gmail.com> >> wrote: >> >>> hello Sakthivel, >>> Can you try if on this VM, the kernel can see the interfaces and ping >>> works with those interfaces? >>> Secondly did you try with older version of DPDK ? >>> >>> Tx >>> >>> >>> On Wed, Jul 26, 2017 at 5:05 PM, SAKTHIVEL ANAND S <anand.sa88@gmail.com >>> > wrote: >>> >>>> i just upgraded the Intel NIC firmware and still there is no improvement >>>> for this.. It is falling under same issue. Following are NIC firmware >>>> details. >>>> >>>> ethtool -i vmnic4 >>>> >>>> driver: i40e >>>> >>>> version: 1.3.45 >>>> >>>> firmware-version: 5.60 0x80002dab 1.1618.0 >>>> >>>> bus-info: 0000:05:00.0 >>>> >>>> Can someone pls help me to fix this. is this known issue, or did i >>>> missed >>>> something? >>>> >>>> Thanks in Advance >>>> >>>> Sakthivel S OM >>>> >>>> On Thu, Jul 20, 2017 at 7:06 PM, Kyle Larose <klarose@sandvine.com> >>>> wrote: >>>> >>>> > 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@gmail.com] >>>> > *Sent:* Thursday, July 20, 2017 6:57 PM >>>> > *To:* Kyle Larose >>>> > *Cc:* users@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@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@sandvine.com> >>>> wrote: >>>> > >>>> > Hi >>>> > >>>> > > -----Original Message----- >>>> > > From: users [mailto:users-bounces@dpdk.org] On Behalf Of SAKTHIVEL >>>> > > ANAND S >>>> > > Sent: Thursday, July 20, 2017 3:05 PM >>>> > > To: users@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@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 >>>> > >>>> >>>> >>>> >>>> -- >>>> Thanks >>>> Sakthivel S OM >>>> >>> >>> >> >> >> -- >> Thanks >> Sakthivel S OM >> >> > -- Thanks Sakthivel S OM ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-07-27 10:12 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-07-20 9:34 [dpdk-users] SR-IOV problem with dpdk drivers SAKTHIVEL ANAND S 2017-07-20 10:31 ` Kyle Larose 2017-07-20 13:26 ` SAKTHIVEL ANAND S 2017-07-20 13:36 ` Kyle Larose 2017-07-26 11:35 ` SAKTHIVEL ANAND S 2017-07-26 12:32 ` Raju-dev grishma 2017-07-26 13:08 ` SAKTHIVEL ANAND S 2017-07-27 3:00 ` Raju-dev grishma 2017-07-27 10:12 ` SAKTHIVEL ANAND S
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).