summaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2015-06-18 22:02:55 -0700
committerJustin Pettit <jpettit@nicira.com>2015-06-18 22:02:55 -0700
commit2d34dbd9e1706b71bad630a9c8d8851dd511ce24 (patch)
treef17a2b647c6b7e0acc46381c937dc71a0f2caf53 /vswitchd
parentd7c3b1deb01de4ad7eb11437e01ee7274034ff89 (diff)
parent5262eea1b88b99b71decfe944aea85ce01166a09 (diff)
downloadopenvswitch-2d34dbd9e1706b71bad630a9c8d8851dd511ce24.tar.gz
Merge remote-tracking branch 'origin/master' into ovn4
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/ovs-vswitchd.c19
-rw-r--r--vswitchd/vswitch.xml2
2 files changed, 17 insertions, 4 deletions
diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c
index ba1c6bf0d..4fe479eb4 100644
--- a/vswitchd/ovs-vswitchd.c
+++ b/vswitchd/ovs-vswitchd.c
@@ -72,6 +72,10 @@ main(int argc, char *argv[])
set_program_name(argv[0]);
retval = dpdk_init(argc,argv);
+ if (retval < 0) {
+ return retval;
+ }
+
argc -= retval;
argv += retval;
@@ -252,9 +256,18 @@ usage(void)
daemon_usage();
vlog_usage();
printf("\nDPDK options:\n"
- " --dpdk options Initialize DPDK datapath.\n"
- " --cuse_dev_name BASENAME override default character device name\n"
- " for use with userspace vHost.\n");
+ " --dpdk [VHOST] [DPDK] Initialize DPDK datapath.\n"
+ " where DPDK are options for initializing DPDK lib and VHOST is\n"
+#ifdef VHOST_CUSE
+ " option to override default character device name used for\n"
+ " for use with userspace vHost\n"
+ " -cuse_dev_name NAME\n"
+#else
+ " option to override default directory where vhost-user\n"
+ " sockets are created.\n"
+ " -vhost_sock_dir DIR\n"
+#endif
+ );
printf("\nOther options:\n"
" --unixctl=SOCKET override default control socket name\n"
" -h, --help display this help message\n"
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 8a604744a..c43bfd1a7 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -940,7 +940,7 @@
Protocol (IGMP) traffic between hosts and multicast routers. The
switch uses what IGMP snooping learns to forward multicast traffic
only to interfaces that are connected to interested receivers.
- Currently it supports IGMPv1 and IGMPv2 protocols.
+ Currently it supports IGMPv1, IGMPv2 and IGMPv3 protocols.
<column name="mcast_snooping_enable">
Enable multicast snooping on the bridge. For now, the default