Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
koolzz committed Apr 16, 2019
1 parent cd59413 commit a49a63e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ to a error(s) resembling the one mentioned below:
OR
# EAL: Cannot mmap device resource file /sys/bus/pci/devices/0000:06:00.0/resource3 to address: 0x7ffff7ff1000

To prevent this, use the base virtual address parameter to run the ONVM manager, e.g.:
To prevent this, use the base virtual address parameter to run the ONVM manager(core list arg `0xf8` isn't actually used by mtcp NFs but is required), e.g.:

cd openNetVM/onvm
./go.sh 1,2,3 1 -s stdout -a 0x7f000000000
./go.sh 1,2,3 1 0xf8 -s stdout -a 0x7f000000000


- NETMAP VERSION -
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,11 +321,11 @@ to an error resembling the one mentioned below:
- ``` Cannot mmap memory for rte_config at [0x7ffff7fb6000], got [0x7ffff7e74000] - please use '--base-virtaddr' option```
- ```EAL: Cannot mmap device resource file /sys/bus/pci/devices/0000:06:00.0/resource3 to address: 0x7ffff7ff1000```

To prevent this, use the base virtual address parameter to run the ONVM manager, e.g.:
To prevent this, use the base virtual address parameter to run the ONVM manager (core list arg `0xf8` isn't actually used by mtcp NFs but is required), e.g.:
```bash
cd openNetVM/onvm
./go.sh 1,2,3 1 -s stdout -a 0x7f000000000
./go.sh 1,2,3 1 0xf8 -s stdout -a 0x7f000000000
```
### ***NETMAP VERSION***
Expand Down

0 comments on commit a49a63e

Please sign in to comment.