Skip to content

Commit

Permalink
Merge pull request #145 from linkernetworks/johnlin/dpdk-init
Browse files Browse the repository at this point in the history
 [Bug] VX-200 dpdk initial
  • Loading branch information
John-Lin authored Jul 20, 2018
2 parents 4799ef1 + 57e87c6 commit e7f835b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions developers/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ sudo systemctl start ovsdb-server
sudo systemctl enable ovs-vswitchd
sudo systemctl start ovs-vswitchd
### openvswitch with dpdk initial
ovs-vsctl --no-wait init
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-socket-mem="1024"
ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask=0x2
ovs-vsctl --no-wait set Open_vSwitch . other_config:max-idle=30000
#### Cleanup
rm -rf /home/vagrant/openvswitch-2.9.2.tar.gz /home/vagrant/dpdk-17.11.2.tar.xz /home/vagrant/pktgen-3.4.9.tar.gz
SHELL
Expand Down

0 comments on commit e7f835b

Please sign in to comment.