Skip to content

Commit

Permalink
Documentation fixes (#145)
Browse files Browse the repository at this point in the history
Fixes typos for environment variable and run scripts.
  • Loading branch information
PingYen-Yu authored and twood02 committed Jul 7, 2016
1 parent deb1495 commit 75e0323
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ This guide helps you build and install openNetVM.
echo export RTE_TARGET=x86_64-native-linuxapp-gcc >> ~/.bashrc
```

4. Set environment variable ONVM_NUM_HUEGPAGES and ONVM_NIC_PCI.
4. Set environment variable ONVM_NUM_HUGEPAGES and ONVM_NIC_PCI.

ONVM_NUM_HUEGPAGES is a variable specifies how many hugepages are reserved by the user, default value of this is 1024, which could be set using:
ONVM_NUM_HUGEPAGES is a variable specifies how many hugepages are reserved by the user, default value of this is 1024, which could be set using:
```sh
echo export ONVM_NUM_HUEGPAGES=1024 >> ~/.bashrc
echo export ONVM_NUM_HUGEPAGES=1024 >> ~/.bashrc
```

ONVM_NIC_PCI is a variable that specifies NIC ports to be bound to DPDK. If ONVM_NIC_PCI is not specified, the default action is to bind all non-active 10G NIC ports to DPDK.
Expand Down Expand Up @@ -141,7 +141,7 @@ This guide helps you build and install openNetVM.

In a new shell, run this command to start the speed_tester and giving it one core, and assigning it a Service ID of 1:

`./examples/speed_tester/go.sh 5 1`
`./examples/speed_tester/go.sh 5 1 1`

Once the NF's initialization is completed, you should see the NF display how many packets it is sending to itself. Go back to the manager to verify that `client 0` is receiving data. If this is the case, the openNetVM is working correctly.
Expand Down

0 comments on commit 75e0323

Please sign in to comment.