[ovs-git] [openvswitch/ovs] d56cc4: datapath-windows: Append flow attribute key

GitHub noreply at github.com
Fri Sep 18 18:36:38 UTC 2015


  Branch: refs/heads/branch-2.4
  Home:   https://github.com/openvswitch/ovs
  Commit: d56cc4236d5153cf35b8379612cb18e6431773fc
      https://github.com/openvswitch/ovs/commit/d56cc4236d5153cf35b8379612cb18e6431773fc
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2015-09-18 (Fri, 18 Sep 2015)

  Changed paths:
    M datapath-windows/ovsext/Flow.c
    M datapath-windows/ovsext/Netlink/Netlink.c
    M datapath-windows/ovsext/Netlink/Netlink.h

  Log Message:
  -----------
  datapath-windows: Append flow attribute key

Currently when running the vswitch daemon we get a lot of messages of the
form:
2015-09-10T23:04:21Z|07255|dpif(revalidator11)|WARN|system at ovs-system: failed
to flow_del (Invalid argument).

The userspace expects after sending a delete flow command, to receive the flow
key of the deleted flow.

Currently we only send back the statiscs. This patch appends back the flow key
attribute for to the response buffer for the flow commands new, modify and
delete.

This patch also responds to the userspace with ENOENT in the case the flow
was not modified, deleted, created or retrieved.

Also incorporate some refactors.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list