Currently, configuration of DPDK parameters is done via the command line through a --dpdk **OPTIONS** -- command line argument. This has a number of challenges, including: * It must be the first option passed to ovs-vswitchd * It breaks from the way most other things are configured in OVS * It doesn't allow an easy way to populate defaults
This series brings the following changes to openvswitch: * All DPDK options are taken from the ovs database rather than the command line * DPDK lcores are optionally auto-assigned to a single core based on the bridge coremask. * vhost-user sockets have additional configuration for socket permissions * Updated documentation Aaron Conole (5): netdev-dpdk: Restore thread affinity after DPDK init netdev-dpdk: Convert initialization from cmdline to db netdev-dpdk: Autofill lcore coremask if absent lib/daemon: Move the user:group code up one level netdev-dpdk: Support user cfg vhost socket perms INSTALL.DPDK.md | 77 +++++++++++--- lib/daemon-unix.c | 120 ++++++++++++++-------- lib/daemon.h | 1 + lib/netdev-dpdk.c | 268 +++++++++++++++++++++++++++++++++++++++--------- lib/netdev-dpdk.h | 19 ++-- vswitchd/bridge.c | 3 + vswitchd/ovs-vswitchd.c | 25 +---- 7 files changed, 378 insertions(+), 135 deletions(-) -- 2.6.1.133.gf5b6079 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev