[ovs-git] [openvswitch/ovs] 1f70f3: dpctl: Factor out common code to iterate through a...

GitHub noreply at github.com
Thu May 7 19:57:00 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 1f70f3f01aad5ba34931d9a745c3dae15f6a29a6
      https://github.com/openvswitch/ovs/commit/1f70f3f01aad5ba34931d9a745c3dae15f6a29a6
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M lib/dpctl.c

  Log Message:
  -----------
  dpctl: Factor out common code to iterate through all dpifs.

This commit introduces dps_for_each() which calls a callback for each
datapath of each registered type.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


  Commit: 88c98bf5635c732d4c77e5314ec7440a08a09dec
      https://github.com/openvswitch/ovs/commit/88c98bf5635c732d4c77e5314ec7440a08a09dec
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M lib/dpctl.c

  Log Message:
  -----------
  dpctl: Ignore enumeration errors if there is at least one datapath.

When dpctl commands are used to inspect a userspace datapath, but OVS
has also built-in support for the kernel datapath, an error message is
reported if the kernel module is not loaded.  This commit suppresses the
message.

Suggested-by: Ethan Jackson <ethan at nicira.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/8cb277fc37a4...88c98bf5635c


More information about the git mailing list