[ovs-git] [openvswitch/ovs] 41319f: ovn-controller: decouple localnet_port update from...

GitHub noreply at github.com
Fri Jul 7 22:07:06 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 41319fc9512fb3acf1c7aa3919a0ab6c918df537
      https://github.com/openvswitch/ovs/commit/41319fc9512fb3acf1c7aa3919a0ab6c918df537
  Author: Han Zhou <zhouhan at gmail.com>
  Date:   2017-07-07 (Fri, 07 Jul 2017)

  Changed paths:
    M ovn/controller/binding.c
    M ovn/controller/ovn-controller.c
    M ovn/controller/patch.c
    M ovn/controller/patch.h

  Log Message:
  -----------
  ovn-controller: decouple localnet_port update from patch_run

We figure out local datapaths in binding_run() but update the field
localnet_port for each local datapath that has localnet port in
patch_run(). This patch updates the localnet_port field in binding_run
directly and removes the logic in patch_run(), since the logic is
more about port-binding processing, and patch_run() is focusing on
patch port creation only.

In a future patch binding_run() will be used in a new thread for
pinctrl, but patch_run() will not.

Signed-off-by: Han Zhou <zhouhan at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list