This is one step toward adding DPDK (and netmap) support.
Ben Pfaff (15):
ofproto-dpif-upcall: Slightly simplify udpif_upcall_handler().
netdev-dummy: Remove unused member 'listening' from struct
netdev_dummy.
netdev-dummy: Make netdev_rx_wait() wakeups work cross-thread for
dummies.
dpif: Remove unused 'get_max_ports' from provider interface.
dpif-netdev: Use new "ovsthread_counter" to track dp statistics.
dpif-netdev: Use hmap instead of list+array for tracking ports.
dpif-netdev: Remove max_mtu tracking.
ovs-atomic: New functions atomic_flag_init(), atomic_flag_destroy().
ovs-atomic: Add atomic_destroy() and use everywhere it is needed.
ovs-atomic: Introduce a new 'struct ovs_refcount'.
dpif-netdev: Take advantage of ovs_refcount for dp_netdev.
dpif-netdev: Break actions out into new struct dp_netdev_actions.
dpif-netdev: Introduce new mutex to protect queues.
dpif-netdev: Make thread-safety much more granular.
dpif-netdev: Use separate threads for forwarding.
lib/bfd.c | 29 +-
lib/cfm.c | 18 +-
lib/dpif-linux.c | 7 -
lib/dpif-netdev.c | 1014 ++++++++++++++++++++++++++++-------------
lib/dpif-provider.h | 4 -
lib/lacp.c | 19 +-
lib/mac-learning.c | 19 +-
lib/mac-learning.h | 4 +-
lib/netdev-dummy.c | 10 +-
lib/netdev.c | 1 +
lib/ovs-atomic-c11.h | 12 +
lib/ovs-atomic-clang.h | 1 +
lib/ovs-atomic-flag-gcc4.7+.h | 12 +
lib/ovs-atomic-gcc4+.h | 1 +
lib/ovs-atomic-gcc4.7+.h | 1 +
lib/ovs-atomic-pthreads.c | 16 +
lib/ovs-atomic-pthreads.h | 6 +
lib/ovs-atomic.h | 96 +++-
lib/ovs-thread.c | 79 ++++
lib/ovs-thread.h | 19 +
lib/stp.c | 19 +-
ofproto/bond.c | 18 +-
ofproto/netflow.c | 21 +-
ofproto/ofproto-dpif-ipfix.c | 21 +-
ofproto/ofproto-dpif-sflow.c | 19 +-
ofproto/ofproto-dpif-upcall.c | 12 +-
ofproto/ofproto-provider.h | 4 +-
ofproto/ofproto.c | 43 +-
tests/test-atomic.c | 2 +
tests/tunnel.at | 10 +-
30 files changed, 1036 insertions(+), 501 deletions(-)
--
1.7.10.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev