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

Former-commit-id: b57c92c9b4b2c9fc1502f20d40ebea4e41bfe83f [formerly b57c92c9b4b2c9fc1502f20d40ebea4e41bfe83f [formerly e7f835b]]
Former-commit-id: 869d61f74f0196d53d95c75f86d36aeee9ead9a2
Former-commit-id: fb6927e
  • Loading branch information
John-Lin authored Jul 20, 2018
2 parents 8d4d7c7 + 55ca385 commit 1f55771
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 1f55771

Please sign in to comment.