[ovs-dev] [PATCH 1/4 v2] Add extentions to the standard datapath interface

Ben Pfaff blp at nicira.com
Fri Aug 15 20:24:33 UTC 2014

On Thu, Aug 14, 2014 at 08:35:36PM -0700, Nithin Raju wrote:
> The datapath interface defined in odp-netlink.h needs some extensions
> that are platform dependent. Some examples are the name of the communication
> device on Windows and a set of commands that are specific to Windows.
> In this change we define a include/odp-netlink-ext.h to in turn include
> any platform specific interface extensions.
> For Windows datapath, the extensions are defined in a new header:
> datapath-windows/include/OvsDpInterfaceExt.h.
> The file odp-netlink-ext.h is not an auto-generated file unlke odp-netlink.h.
> In the future, we can possibly auto-generate it based on OvsDpInterfaceExt.h.
> Also, we define three ioctls in OvsDpInterfaceExt.h:
> read:     provides an output buffer (mimics a recv)
> write:    provides an input buffer (mimics a send)
> transact: provides an input and optionally an output buffer.
>           (mimics a send followed by recv)
> Signed-off-by: Nithin Raju <nithin at vmware.com>

I'm fine with this.  I'd like someone else to review the actual
Windows-specific bits.

More information about the dev mailing list