Hi Daniele, I went through e OVS installation in userspace. In the Userspace install it is given, we install everything except the kernel modules and the add the bridges using the below commands:
ovs-vsctl add-br br0 ovs-vsctl set bridge br0 datapath_type=netdev ovs-vsctl add-port br0 eth0 ovs-vsctl add-port br0 eth1 ovs-vsctl add-port br0 eth2 In the above commands, the first command fails for me again(you have pointed out about the kernel module not being there). Does that mean we need to install the kernel module too in the Userspace mode? Also, in the installation of the plain OVS document, it is mentioned that installing kernel modules is optional. Shouldn’t this be mandatory? Also, I would like to understand the architecture of OVS in kernel space vs the one in userspace. Is there any links/document to understand what goes behind the hood. Thanks, Sharmila -----Original Message----- From: Radhakrishnan, Sharmila Sent: Tuesday, March 17, 2015 6:24 PM To: 'Daniele Di Proietto' Cc: discuss@openvswitch.org Subject: RE: [ovs-discuss] Issue in added bridge in OVS-DPDK build Thanks Daniele! -----Original Message----- From: Daniele Di Proietto [mailto:diproiet...@vmware.com] Sent: Tuesday, March 17, 2015 6:21 PM To: Radhakrishnan, Sharmila Cc: discuss@openvswitch.org Subject: Re: [ovs-discuss] Issue in added bridge in OVS-DPDK build Hi Sharmila, ``ovs-vsctl add-br br5'' tells OVS to create a bridge that uses a “system” dpif, i.e. a datapath created by the OVS linux kernel module (not a userspace datapath, usable with DPDK devices). The error in the log suggests that the OVS kernel module is not loaded. Daniele > On 17 Mar 2015, at 12:28, Radhakrishnan, Sharmila > <sharmila.radhakrish...@intel.com> wrote: > > Hi All, > I have built OVS with DPDK(v1.7.1) as mentioned in the Install > instructions. > > Iam able to add the bridge using command: > > ovs-vsctl add-br br2 -- set bridge br2 datapath_type=netdev > > However, when I ry to add the bridge like it is done in plain OVS, I get the > following error. > > [root@localhost ~]# ovs-vsctl add-br br5 > ovs-vsctl: Error detected while setting up 'br5'. See ovs-vswitchd log for > details. > > > This is the log: > > Mar 17 05:29:08 localhost ovs-vsctl: ovs|00001|vsctl|INFO|Called as > ovs-vsctl add-br br5 Mar 17 05:29:08 localhost ovs-vswitchd: > ovs|00077|dpif|WARN|failed to enumerate system datapaths: No such file > or directory Mar 17 05:29:08 localhost ovs-vswitchd: > ovs|00078|dpif|WARN|failed to create datapath ovs-system: No such file > or directory Mar 17 05:29:08 localhost ovs-vswitchd: > ovs|00079|ofproto_dpif|ERR|failed to open datapath of type system: No > such file or directory > > > Is this not allowed or is this an issue? > > > Thanks, > Sharmila > _______________________________________________ > discuss mailing list > discuss@openvswitch.org > https://urldefense.proofpoint.com/v2/url?u=http-3A__openvswitch.org_ma > ilman_listinfo_discuss&d=AwIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMN > tXt-uEs&r=SmB5nZacmXNq0gKCC1s_Cw5yUNjxgD4v5kJqZ2uWLlE&m=4bY0xO_WeuVIcF > PyodHDLjJeHAgFjRKZV-t4Qkm-ie8&s=Lum_JZ5i7q1XF-tpNfwIctasKbyHds4nEFPoYi > rArXg&e= _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss