Re: [ovs-dev] [PATCH v2] lib: Move lib/poll-loop.h to include/openvswitch

2017-11-03 Thread Ben Pfaff
On Fri, Nov 03, 2017 at 01:53:53PM +0800, Xiao Liang wrote:
> Poll-loop is the core to implement main loop. It should be available in
> libopenvswitch.
> 
> Signed-off-by: Xiao Liang 

Applied to master, thanks!
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH v2] lib: Move lib/poll-loop.h to include/openvswitch

2017-11-02 Thread Xiao Liang
Poll-loop is the core to implement main loop. It should be available in
libopenvswitch.

Signed-off-by: Xiao Liang 
---
 include/openvswitch/automake.mk   | 1 +
 {lib => include/openvswitch}/poll-loop.h  | 7 ++-
 lib/bfd.c | 2 +-
 lib/cfm.c | 2 +-
 lib/conntrack.c   | 2 +-
 lib/daemon-windows.c  | 2 +-
 lib/dpif-netdev.c | 2 +-
 lib/dpif-netlink.c| 2 +-
 lib/dpif.c| 2 +-
 lib/fatal-signal.c| 2 +-
 lib/jsonrpc.c | 2 +-
 lib/lacp.c| 2 +-
 lib/latch-unix.c  | 2 +-
 lib/latch-windows.c   | 2 +-
 lib/learning-switch.c | 2 +-
 lib/mac-learning.c| 2 +-
 lib/mcast-snooping.c  | 2 +-
 lib/memory.c  | 2 +-
 lib/netdev-bsd.c  | 2 +-
 lib/netdev-dummy.c| 2 +-
 lib/netdev-linux.c| 2 +-
 lib/netdev-vport.c| 2 +-
 lib/netdev-windows.c  | 2 +-
 lib/netdev.c  | 2 +-
 lib/netlink-conntrack.c   | 2 +-
 lib/netlink-socket.c  | 2 +-
 lib/ovs-lldp.c| 2 +-
 lib/ovs-rcu.c | 2 +-
 lib/ovs-thread.c  | 2 +-
 lib/ovsdb-idl.c   | 2 +-
 lib/poll-loop.c   | 2 +-
 lib/process.c | 2 +-
 lib/rconn.c   | 2 +-
 lib/reconnect.c   | 2 +-
 lib/rtbsd.c   | 2 +-
 lib/seq.c | 2 +-
 lib/signals.c | 2 +-
 lib/socket-util.c | 2 +-
 lib/stream-fd.c   | 2 +-
 lib/stream-ssl.c  | 2 +-
 lib/stream-unix.c | 2 +-
 lib/stream-windows.c  | 2 +-
 lib/stream.c  | 2 +-
 lib/timer.c   | 2 +-
 lib/tnl-neigh-cache.c | 2 +-
 lib/token-bucket.c| 2 +-
 lib/unixctl.c | 2 +-
 lib/vconn-stream.c| 2 +-
 lib/vconn.c   | 2 +-
 ofproto/bond.c| 2 +-
 ofproto/bundles.c | 2 +-
 ofproto/connmgr.c | 2 +-
 ofproto/fail-open.c   | 2 +-
 ofproto/in-band.c | 2 +-
 ofproto/netflow.c | 2 +-
 ofproto/ofproto-dpif-ipfix.c  | 2 +-
 ofproto/ofproto-dpif-monitor.c| 2 +-
 ofproto/ofproto-dpif-sflow.c  | 2 +-
 ofproto/ofproto-dpif-upcall.c | 2 +-
 ofproto/ofproto-dpif.c| 2 +-
 ofproto/ofproto.c | 2 +-
 ofproto/pinsched.c| 2 +-
 ovn/controller-vtep/gateway.c | 2 +-
 ovn/controller-vtep/ovn-controller-vtep.c | 2 +-
 ovn/controller/binding.c  | 2 +-
 ovn/controller/ofctrl.c   | 2 +-
 ovn/controller/ovn-controller.c   | 2 +-
 ovn/controller/physical.c | 2 +-
 ovn/controller/pinctrl.c  | 2 +-
 ovn/northd/ovn-northd.c   | 2 +-
 ovn/utilities/ovn-nbctl.c | 2 +-
 ovn/utilities/ovn-sbctl.c | 2 +-
 ovn/utilities/ovn-trace.c | 2 +-
 ovsdb/jsonrpc-server.c| 2 +-
 ovsdb/ovsdb-client.c  | 2 +-
 ovsdb/ovsdb-server.c  | 2 +-
 ovsdb/trigger.c   | 3 ++-
 tests/test-jsonrpc.c  | 2 +-
 tests/test-netflow.c  | 2 +-
 tests/test-netlink-conntrack.c| 2 +-
 tests/test-ovsdb.c| 2 +-
 tests/test-sflow.c| 2 +-
 tests/test-unixctl.c  | 2 +-
 tests/test-vconn.c| 2 +-
 utilities/nlmon.c | 2 +-
 utilities/ovs-ofctl.c | 2 +-
 utilities/ovs-testcontroller.c| 2 +-
 utilities/ovs-vsctl.c | 2 +-
 vswitchd/bridge.c | 2 +-
 vswitchd/ovs-vswitchd.c   | 2 +-
 vswitchd/system-stats.c   | 2 +-
 vtep/vtep-ctl.c   | 2 +-
 92 files changed, 98 insertions(+), 91 deletions(-)
 rename {lib => include/openvswitch}/poll-loop.h (97%)

diff --git a/include/openvswitch/automake.mk b/include/openvswitch/automake.mk
index ec4580641..93d1062a4 100644
---