Add usage info for ovs-vswitchd dpdk option. Update INSTALL.DPDK file. Reported-by: Hari Sasank Bhamidipalli <hbham...@cisco.com> Signed-off-by: Pravin B Shelar <pshe...@nicira.com> --- AUTHORS | 1 + INSTALL.DPDK | 5 ++--- vswitchd/ovs-vswitchd.c | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/AUTHORS b/AUTHORS index d1756ee..8c5940d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -201,6 +201,7 @@ Greg Dahlman gdahl...@hotmail.com Gregor Schaffrath gr...@net.t-labs.tu-berlin.de Guolin Yang gy...@vmware.com Gur Stavi gst...@mrv.com +Hari Sasank Bhamidipalli hbham...@cisco.com Hassan Khan hassan.k...@seecs.edu.pk Hector Oron hector.o...@gmail.com Henrik Amren hen...@nicira.com diff --git a/INSTALL.DPDK b/INSTALL.DPDK index c74fa5c..4551f4c 100644 --- a/INSTALL.DPDK +++ b/INSTALL.DPDK @@ -72,8 +72,6 @@ First setup DPDK devices: 0000:02:00.0 0000:02:00.1 bind module new_id remove_id uevent unbind Prepare system: - - load ovs kernel module - e.g modprobe openvswitch - mount hugetlbfs e.g. mount -t hugetlbfs -o pagesize=1G none /mnt/huge/ @@ -101,7 +99,8 @@ Start ovsdb-server as discussed in INSTALL doc: Start vswitchd: DPDK configuration arguments can be passed to vswitchd via `--dpdk` -argument. dpdk arg -c is ignored by ovs-dpdk, but it is a required parameter +argument. This needs to be first argument passed to vswitchd process. +dpdk arg -c is ignored by ovs-dpdk, but it is a required parameter for dpdk initialization. e.g. diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c index 3c843e1..199db2d 100644 --- a/vswitchd/ovs-vswitchd.c +++ b/vswitchd/ovs-vswitchd.c @@ -250,6 +250,8 @@ usage(void) stream_usage("DATABASE", true, false, true); daemon_usage(); vlog_usage(); + printf("\nDPDK options:\n" + " --dpdk options See INSTALL.DPDK for more info.\n"); printf("\nOther options:\n" " --unixctl=SOCKET override default control socket name\n" " -h, --help display this help message\n" -- 1.9.3 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev