Message ID | 1408554678-55317-5-git-send-email-ciprian.barbu@linaro.org |
---|---|
State | New |
Headers | show |
diff --git a/utilities/ovs-ctl.in b/utilities/ovs-ctl.in index 6d2e938..8914b58 100755 --- a/utilities/ovs-ctl.in +++ b/utilities/ovs-ctl.in @@ -240,7 +240,11 @@ start_forwarding () { fi # Start ovs-vswitchd. - set ovs-vswitchd unix:"$DB_SOCK" + if test X"$USE_ODP" != Xno; then + set ovs-vswitchd --odp -- unix:"$DB_SOCK" + else + set ovs-vswitchd unix:"$DB_SOCK" + fi set "$@" -vconsole:emer -vsyslog:err -vfile:info if test X"$MLOCKALL" != Xno; then set "$@" --mlockall @@ -529,6 +533,7 @@ set_defaults () { PROTOCOL=gre DPORT= SPORT= + USE_ODP=no type_file=$etcdir/system-type.conf version_file=$etcdir/system-version.conf
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org> --- utilities/ovs-ctl.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)