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_openvs >wit >ch_ovs_blob_master_INSTALL.DPDK.md&d=BQMFAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAX >VeA >w-YihVMNtXt-uEs&r=SmB5nZacmXNq0gKCC1s_Cw5yUNjxgD4v5kJqZ2uWLlE&m=BELvXwU >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 > >
setup.sh
Description: setup.sh
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
