[ovs-dev] [PATCH 2/4 v4] datapath-windows: Add Datapath.[ch] and OVS_USE_NL_INTERFACE CPP

Ben Pfaff blp at nicira.com
Tue Aug 19 21:28:02 UTC 2014

On Tue, Aug 19, 2014 at 01:51:52PM -0700, Nithin Raju wrote:
> In this change we create peer to OvsIoctl.[ch] that would interface
> with userspace using the netlink interface. The new files are called
> Datapath.[ch]. We are not deleting OvsIoctl.[ch] yet. Datapath.[ch]
> provides bare minimum functionality to register a pseudo device for
> communication with userspace.
> We also define a CPP called OVS_USE_NL_INTERFACE in the ovsext project.
> This defines if the old interface (pre-netlink based) or the new
> interface (netlink- based) should be enabled in the kernel. By default,
> the value is 0 since the Datapath.[ch] are minimal. In the next change,
> we'll turn it to 1.
> Since Datapath.[ch] containes code copied from OvsIoctl.[ch], acking
> the original author as well.
> Signed-off-by: Nithin Raju <nithin at vmware.com>
> Co-authored-by: Guolin Yang <gyang at vmware.com>
> Acked-by: Alin Serdean <aserdean at cloudbasesolutions.com>
> Acked-by: Ankur Sharma <ankursharma at vmware.com>
> Acked-by: Saurabh Shah <ssaurabh at vmware.com>

I added the new files to automake.mk.  Otherwise I'm happy with this.

More information about the dev mailing list