> -----Original Message-----
> From: Rapelly, Varun [mailto:[email protected]]
> Sent: Thursday, June 25, 2015 10:47 AM
> To: Traynor, Kevin
> Cc: [email protected]; Daniele Di Proietto
> Subject: RE: [ovs-discuss] No Ethernet devices found with I350
> 
> Hi Kevin,
> 
> I'm using branch 2.4 with DPDK2.0.
> But facing cannot link with dpdk while configuring ovs.
> 
> [root@artha ovs-branch-2.4]# grep CONFIG_RTE_LIBRTE_VHOST ~/dpdk-
> 2.0.0/config/common_linuxapp
> CONFIG_RTE_LIBRTE_VHOST=y
> CONFIG_RTE_LIBRTE_VHOST_USER=y
> CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
> [root@artha ovs-branch-2.4]# grep CONFIG_RTE_BUILD ~/dpdk-
> 2.0.0/config/common_linuxapp
> CONFIG_RTE_BUILD_SHARED_LIB=n
> CONFIG_RTE_BUILD_COMBINE_LIBS=y
>  [root@artha ovs-branch-2.4]# ./configure --with-dpdk=$DPDK_BUILD"
> 
> checking for working posix_memalign... yes
> checking whether the preprocessor supports include_next... yes
> checking whether system header files limit the line length... no
> checking for stdio.h... yes
> checking for string.h... (cached) yes
> checking whether gcc -std=gnu99 accepts -Werror... yes
> checking whether gcc -std=gnu99 accepts -Wall... yes
> checking whether gcc -std=gnu99 accepts -Wextra... yes
> checking whether gcc -std=gnu99 accepts -Wno-sign-compare... yes
> checking whether gcc -std=gnu99 accepts -Wpointer-arith... yes
> checking whether gcc -std=gnu99 accepts -Wformat-security... no
> checking whether gcc -std=gnu99 accepts -Wswitch-enum... yes
> checking whether gcc -std=gnu99 accepts -Wunused-parameter... yes
> checking whether gcc -std=gnu99 accepts -Wbad-function-cast... yes
> checking whether gcc -std=gnu99 accepts -Wcast-align... yes
> checking whether gcc -std=gnu99 accepts -Wstrict-prototypes... no
> checking whether gcc -std=gnu99 accepts -Wold-style-definition... no
> checking whether gcc -std=gnu99 accepts -Wmissing-prototypes... yes
> checking whether gcc -std=gnu99 accepts -Wmissing-field-initializers... yes
> checking whether gcc -std=gnu99 accepts -Wthread-safety... no
> checking whether gcc -std=gnu99 accepts -fno-strict-aliasing... yes
> checking whether gcc -std=gnu99 accepts -Qunused-arguments... no
> checking whether gcc -std=gnu99 accepts -Wno-unused... yes
> checking whether gcc -std=gnu99 accepts -Wno-unused-parameter... yes
> checking target hint for cgcc... x86_64
> checking whether make has GNU make $(if) extension... yes
> configure: error: cannot link with dpdk
> 
> Is this a known issue or what?

No, it should be fine. I would probably step through 
https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md#building-and-installing
and check if your paths are correct or that you've missed any steps.

> 
> -----Original Message-----
> From: Traynor, Kevin [mailto:[email protected]]
> Sent: Thursday, June 25, 2015 3:07 PM
> To: Rapelly, Varun; Daniele Di Proietto
> Cc: [email protected]
> Subject: RE: [ovs-discuss] No Ethernet devices found with I350
> 
> 
> > -----Original Message-----
> > From: discuss [mailto:[email protected]] On Behalf Of
> > Rapelly, Varun
> > Sent: Wednesday, June 24, 2015 11:43 AM
> > To: Daniele Di Proietto
> > Cc: [email protected]
> > Subject: Re: [ovs-discuss] No Ethernet devices found with I350
> >
> > Hi Daniel,
> >
> > One more thing about the following command after creating the bridge br0:
> >
> > ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk.
> >
> > If I try to execute the above cmd, it says dpdk0 no such device. And
> > if I give specific interface like ens3f0, even that also does not work.
> 
> dpdk0 is the correct syntax and should work - using ens3f0 is incorrect and
> will not work.
> 
> I think you have a version mismatch between OVS and DPDK. I don't necessarily
> think that is the root cause of the problem you are seeing but best to
> eliminate and work from a more stable point. How about moving to the OVS 2.4
> branch and using DPDK 2.0?
> 
> >
> > What exactly I should use in this case?
> >
> > Regards,
> > Varun
> >
> > -----Original Message-----
> > From: Rapelly, Varun
> > Sent: Wednesday, June 24, 2015 10:07 AM
> > To: 'Daniele Di Proietto'
> > Cc: [email protected]
> > Subject: RE: [ovs-discuss] No Ethernet devices found with I350
> >
> > Hi Daniele,
> >
> > Thanks for your reply :)
> >
> > I'm using openvswitch-2.3.1 and compiled using below set of commands.
> >
> > export DPDK_DIR=/root/dpdk-1.7.1
> > cd /root/dpdk-1.7.1
> > make install T=x86_64-native-linuxapp-gcc cd /root/openvswitch-2.3.1
> > export DPDK_BUILD=$DPDK_DIR/x86_64-native-linuxapp-gcc/
> > ./boot.sh
> > ./configure --with-dpdk=$DPDK_BUILD
> > make
> >
> > I would like to create a OVS bridge by adding ens3f0 & ens3f1 ports to
> that.
> >
> > [root@artha ~]# /root/dpdk-1.7.1/tools/dpdk_nic_bind.py --status
> > Network devices using DPDK-compatible driver
> > ============================================
> > <none>
> > Network devices using kernel driver
> > ===================================
> > 0000:0a:00.0 'I350 Gigabit Network Connection' if=ens3f0 drv=igb
> > unused=
> > 0000:0a:00.1 'I350 Gigabit Network Connection' if=ens3f1 drv=igb
> > unused=
> >
> >  [root@artha ~]# ifconfig -a|grep flags
> > ens3f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
> > ens3f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
> >
> > PFA setup.sh script, for all the cmd which I used to run ovs.
> >
> > 1. I added "default_hugepagesz=1GB hugepagesz=1G hugepages=1" to the
> > boot line and 1 GB huge page created 2. When I bind igb_uio driver [to
> > 0000:0a:00.0  & 0000:0a:00.1 ] and then if I run vswitch daemon
> > [--with dpdk], Ideally it should detect binded PCI device. Am I right?
> >
> > Please let me know if I'm missing something or something is incorrect
> >
> > Thanks & Regards,
> > Varun
> > -----Original Message-----
> > From: Daniele Di Proietto [mailto:[email protected]]
> > Sent: Tuesday, June 23, 2015 10:16 PM
> > To: Rapelly, Varun
> > Cc: [email protected]
> > Subject: Re: [ovs-discuss] No Ethernet devices found with I350
> >
> > The commands you're typing seem correct.
> >
> > Which version of OVS are you using? How are you compiling it?
> >
> > On 23/06/2015 08:23, "Rapelly, Varun" <[email protected]> wrote:
> >
> > >Hi All,
> > >
> > >I¹m a newbie to openvswitch and I followed the below link to install
> > >ovs with DPDK on RHEL7 machine.
> > >
> > >[root@artha ~]# uname -a
> > >Linux BL4 3.10.0-123.el7.x86_64 #1 SMP Mon May 5 11:16:57 EDT 2014
> > >x86_64
> > >x86_64 x86_64 GNU/Linux
> > >
> > >https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md
> > ><https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_open
> > >vs
> > >wit
> > >ch_ovs_blob_master_INSTALL.DPDK.md&d=BQMFAg&c=Sqcl0Ez6M0X8aeM67LKIiDJ
> > >AX
> > >VeA
> > >w-YihVMNtXt-uEs&r=SmB5nZacmXNq0gKCC1s_Cw5yUNjxgD4v5kJqZ2uWLlE&m=BELvX
> > >wU
> > >3yO
> > >I7c4Fnird6AUH868juo1h2R4VdS2w87ps&s=d8CFnv-IsbTKEf_5cvZ6JCE-HwaX1qSr-
> > >uR
> > >NfI
> > >C0hWg&e=>
> > >
> > >When I ran vswitch daemon, it reports following error [I binded
> > >igb_uio to the i350 NIC].
> > >
> > >2015-06-22T18:04:38Z|00003|dpdk|ERR|No Ethernet devices found. Try
> > >assigning ports to UIO.
> > >2015-06-22T18:04:38Z|00004|dpdk|INFO|Ethernet Device Count: 0
> > >
> > >Following PCI bind status.
> > >
> > >[root@artha ~]# ./dpdk-1.7.1/tools/dpdk_nic_bind.py --status
> > >
> > >Network devices using DPDK-compatible driver
> > >============================================
> > >0000:0a:00.0 'I350 Gigabit Network Connection' drv=igb_uio unused=
> > >
> > >Network devices using kernel driver
> > >===================================
> > >0000:03:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eno1
> > >drv=tg3 unused=
> > >0000:03:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eno2
> > >drv=tg3 unused=
> > >0000:03:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eno3
> > >drv=tg3 unused=
> > >0000:03:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eno4
> > >drv=tg3 unused=
> > >0000:0a:00.1 'I350 Gigabit Network Connection' if=ens3f1 drv=igb
> > >unused=
> > >
> > >Other network devices
> > >=====================
> > ><none>
> > >
> > >Then I created I ovs bridge using below cmd:
> > >./ovs-vsctl --no-wait add-br ovs -- set Bridge ovs
> > >datapath_type=netdev
> > >
> > >
> > >./ovs-vsctl add-port ovs dpdk0 -- set Interface dpdk0 type=dpdk
> > >
> > >When I add dpdk port it reports, ³could not open network device dpdk0
> > >(Unknown error -19)²
> > >
> > >Please let me know
> > >1.
> > >What could be possible reason for not detecting the interface which
> > >is binded to igb_uio?
> > >2.
> > >How to add the port which is binded to igb_uio here?
> > >
> > >
> > >Thanks in advance.
> > >
> > >Regards,
> > >Varun
> > >
> > >
> >
> > _______________________________________________
> > discuss mailing list
> > [email protected]
> > http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to