ovs-vswitchd: Better diagnose errors in DPDK command-line options.
authorBen Pfaff <blp@nicira.com>
Tue, 30 Sep 2014 16:57:08 +0000 (09:57 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 30 Sep 2014 18:18:09 +0000 (11:18 -0700)
commite03f0d03bbe9d530a17c9297fb2d3bbc743fd569
tree74ad434822d5871865efea2953354e54724879a2
parent29058c4e16762a6e797612573b1675b1c499a943
ovs-vswitchd: Better diagnose errors in DPDK command-line options.

With DPDK compiled in, when the --dpdk option was given other than as the
first command-line argument, ovs-vswitchd silently ignored it.  Without
DPDK compiled in, when the --dpdk option was given anywhere, ovs-vswitchd
silently ignored it.  However, in each case any options following --dpdk
were not ignored, and since --dpdk is normally followed by additional
DPDK-specific options, this caused even more confusing trouble.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Daniele Di Proietto <ddiproietto@vmware.com>
Tested-by: Daniele Di Proietto <ddiproietto@vmware.com>
lib/netdev-dpdk.h
vswitchd/ovs-vswitchd.c