On 8 February 2015 at 22:44, Sumit Paliwal <[email protected]> wrote:
> Hello everyone,
>
> I'm in a little bit confusion here.
> I've read that there are 2 dpif implementations in ovs named as dpif-linux
> and dpif-netdev.
>
> I want to know :-
> 1. which implementation is used by default in mininet environment and how to
> switch     to other one.
> 2. What is the use of the code written under datapath directory. As i tried
> to change the code of datapath/vport.c, but there was no effect on the
> output.
> So how does this datapath/ directory serves the purpose.

I don't know how mininet configures OVS by default. You can use this
command to check:

ovs-vsctl get bridge breth0 datapath_type
("" or "system" means linux, "netdev" means userspace datapath).

This will change the datapath type:
ovs-vsctl set Bridge br0 datapath_type=netdev

datapath/ houses the linux datapath code. It compiles into a Linux
module that you can load into the kernel.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to