From 4f3988e0f6e3efcb418a3ba9de433970a64bfca4 Mon Sep 17 00:00:00 2001 From: Nithin Raju Date: Tue, 19 Aug 2014 13:51:52 -0700 Subject: datapath-windows: Add Datapath.[ch] and OVS_USE_NL_INTERFACE CPP 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 Co-authored-by: Guolin Yang Acked-by: Alin Serdean Acked-by: Ankur Sharma Acked-by: Saurabh Shah Signed-off-by: Ben Pfaff --- datapath-windows/automake.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'datapath-windows/automake.mk') diff --git a/datapath-windows/automake.mk b/datapath-windows/automake.mk index 3fd669278..47ef22515 100644 --- a/datapath-windows/automake.mk +++ b/datapath-windows/automake.mk @@ -9,6 +9,8 @@ EXTRA_DIST += \ datapath-windows/misc/install.cmd \ datapath-windows/misc/uninstall.cmd \ datapath-windows/ovsext.sln \ + datapath-windows/ovsext/Datapath.c \ + datapath-windows/ovsext/Datapath.h \ datapath-windows/ovsext/OvsActions.c \ datapath-windows/ovsext/OvsAtomic.h \ datapath-windows/ovsext/OvsBufferMgmt.c \ -- cgit v1.2.1