This is the second part of XPS patch-set which contains XPS itself. Implementation will use dp->ports structure by PMD threads. This requires replacing of port_mutex with rwlock.
Also generic changes applied to fat-rwlock itself to add new functionality: Upgrading read-lock to write-lock and backward. Patches 1 and 2 are new ones. Patch 3 is a little fixed one from v2: http://openvswitch.org/pipermail/dev/2016-May/070901.html Version 3: * Dropped already applied changes. * fat-rwlock used instead of port_mutex. * revalidation of 'non-pmd' thread's tx queues added to 'dpif_netdev_run' to make it faster. Ilya Maximets (3): fat-rwlock: Make fat-rwlock upgradable. dpif-netdev: Use fat-rwlock to protect dp->ports. dpif-netdev: XPS (Transmit Packet Steering) implementation. lib/dpif-netdev.c | 233 +++++++++++++++++++++++++++++++++++------------------- lib/fat-rwlock.c | 56 ++++++++++++- lib/fat-rwlock.h | 11 +++ 3 files changed, 217 insertions(+), 83 deletions(-) -- 2.7.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev