[ovs-dev] [PATCH v5 0/4] XPS + Manual pinning (all)
Ilya Maximets
i.maximets at samsung.com
Wed Jul 27 14:44:40 UTC 2016
Manual pinning API was discussed here:
http://openvswitch.org/pipermail/dev/2016-July/074674.html
Version 5:
* XPS and Manual pinning back together.
* Dropped already applied patches
* All fixups from pinning v3 merged.
* XPS doesn't work if we have enough TX queues
* Affinity parser changed to reuse existing code
* 'needs_locking' logic moved to dpif-netdev.
Old XPS log:
Version 4:
* Dropped rwlock related patches.
* Added pointer from 'struct tx_port' to 'struct dp_netdev_port'
to avoid locking of 'dp->ports'. This works because as long as
a port is in a pmd thread's tx_port cache it cannot be deleted
from the datapath.
* Added 'now' parameter to 'dp_netdev_execute_actions()' to pass
current time to XPS functions. This needed to avoid using
'last_cycles' that is always 0 without DPDK.
* Fixed tx queue ids cleanup on PMD thread deletion.
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 (4):
dpif-netdev: XPS (Transmit Packet Steering) implementation.
bridge: Pass interface's configuration to datapath.
dpif-netdev: Add reconfiguration request to dp_netdev.
dpif-netdev: Introduce pmd-rxq-affinity.
INSTALL.DPDK.md | 49 ++++-
NEWS | 2 +
lib/dpif-netdev.c | 450 ++++++++++++++++++++++++++++++++++++---------
lib/dpif-netlink.c | 1 +
lib/dpif-provider.h | 5 +
lib/dpif.c | 17 ++
lib/dpif.h | 1 +
lib/netdev-bsd.c | 3 +-
lib/netdev-dpdk.c | 32 ++--
lib/netdev-dummy.c | 3 +-
lib/netdev-linux.c | 3 +-
lib/netdev-provider.h | 11 +-
lib/netdev.c | 13 +-
lib/netdev.h | 2 +-
ofproto/ofproto-dpif.c | 15 ++
ofproto/ofproto-provider.h | 4 +
ofproto/ofproto.c | 29 +++
ofproto/ofproto.h | 2 +
tests/pmd.at | 6 +
vswitchd/bridge.c | 2 +
vswitchd/vswitch.xml | 23 +++
21 files changed, 553 insertions(+), 120 deletions(-)
--
2.7.4
More information about the dev
mailing list