Hi Paul,

Above workaround can't work for me, do you know why ?

hua@node1:~$ cat /etc/default/openvswitch-switch |grep DPDK_OPTS
DPDK_OPTS='--dpdk -c 0x1 -n 4'

hua@node1:~$ cat /etc/init/openvswitch-switch.conf |grep -B 1 -A 2 DPDK
  set "$@" $OVS_CTL_OPTS
  if test X"$DPDK_OPTS" != X; then
    #set "$@" DPDK_OPTS="$DPDK_OPTS"
    set "$@" --dpdk-opts="$DPDK_OPTS"
  fi
  "$@"

hua@node1:~$ cat /usr/share/openvswitch/scripts/ovs-ctl |grep -A 2 DPDK
                if test X"$DPDK_OPTS" != X; then
                    set "$@" $DPDK_OPTS --
                fi
                set "$@" unix:"$DB_SOCK"

hua@node1:~$ sudo restart openvswitch-switch
openvswitch-switch start/running

hua@node1:~$ ps -ef |grep ovs-vswitchd
root     22896     1  0 11:38 ?        00:00:00 ovs-vswitchd: monitoring pid 
22897 (healthy)                                                                 
                                                                                
                                   
root     22897 22896  5 11:38 ?        00:00:00 ovs-vswitchd 
unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info 
--mlockall --no-chdir --log-file=/var/log/openvswitch/ovs-vswitchd.log 
--pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
hua      23000  4470  0 11:38 pts/12   00:00:00 grep --color=auto ovs-vswitchd

hua@node1:~$ dpkg -l |grep openvswitch
ii  openvswitch-common                                    2.4.0-0ubuntu4~cloud0 
                              amd64        Open vSwitch common components
ii  openvswitch-switch                                    2.4.0-0ubuntu4~cloud0 
                              amd64        Open vSwitch switch implementations
ii  openvswitch-switch-dpdk                               2.4.0-0ubuntu1~cloud0 
                              amd64        DPDK enabled Open vSwitch switch 
implementation

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1547463

Title:
  openvswitch-dpdk starting with DPDK_OPTS parameter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch-dpdk/+bug/1547463/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to