This series improves OVS configuration with DPDK in three ways: * netdev-dpdk is patched to work with smaller NICs (without lots of transmission queues). * the 'other_config:nonpmd-cpu-mask' key is introduced: it can be used to limit OVS non PMD threads to a particular set of cores. * the 'other_config:n-pmd-cores' key is introduced: it allows setting the number of PMD threads without specifing a CPU mask.
v1 -> v2: * Fix a few typos (thanks to Kevin) * Rebase against the vhost inclusion * Provide a separate spinlock for stats in netdev-dpdk * Never free the non pmd structure in dpif-netdev * Removed first patch (already applied to master) Daniele Di Proietto (7): netdev-dpdk: Use specific spinlock for stats. netdev-dpdk: Adapt the requested number of tx and rx queues. dpif-netdev: Never free non-pmd structure. ovs-thread: Keep a list of all threads. dpif-netdev: Allow controlling non PMD threads' affinity. dpif-netdev: Allow configuring number of PMD threads. INSTALL.DPDK.md: Update documentation on multiple threads. INSTALL.DPDK.md | 32 ++++++-- lib/dpif-netdev.c | 193 +++++++++++++++++++++++++++++++++------------ lib/dpif-provider.h | 10 ++- lib/dpif.c | 7 +- lib/dpif.h | 4 +- lib/netdev-dpdk.c | 125 ++++++++++++++++++++--------- lib/netdev-provider.h | 11 +++ lib/netdev.c | 10 +++ lib/ovs-numa.c | 96 +++++++++++++++------- lib/ovs-numa.h | 29 +++++-- lib/ovs-thread.c | 51 ++++++++---- lib/ovs-thread.h | 13 +++ ofproto/ofproto-dpif.c | 3 +- ofproto/ofproto-provider.h | 3 + ofproto/ofproto.c | 18 ++++- ofproto/ofproto.h | 4 +- vswitchd/bridge.c | 7 +- vswitchd/vswitch.xml | 53 ++++++++++++- 18 files changed, 510 insertions(+), 159 deletions(-) -- 2.1.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev