[ovs-git] [openvswitch/ovs] df4879: datapath-windows: Add support for OVS_DP_CMD_NEW N...

GitHub noreply at github.com
Thu Oct 9 15:41:01 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: df4879cd5f2c13f80416db84e75692340ba42021
      https://github.com/openvswitch/ovs/commit/df4879cd5f2c13f80416db84e75692340ba42021
  Author: Nithin Raju <nithin at vmware.com>
  Date:   2014-10-09 (Thu, 09 Oct 2014)

  Changed paths:
    M datapath-windows/ovsext/Datapath.c

  Log Message:
  -----------
  datapath-windows: Add support for OVS_DP_CMD_NEW Netlink command.

In this change, we add support for the 'OVS_DP_CMD_NEW' netlink command
in the kernel. We don't really support creation of a new datapath. If
the name of the userspace is the same as the single datapath we support,
we return EEXIST.

This code is required to bootstrap ovs-vswitchd which makes the
following sequence of calls:
open_dpif_backer() -> dpif_create_and_open() -> dpif_create()

We also rename HandleDpTransaction() to HandleDpTransactionCommon().

Signed-off-by: Nithin Raju <nithin at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Tested-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>




More information about the git mailing list