aboutsummaryrefslogtreecommitdiffstats
path: root/extras/libmemif/README.md
diff options
context:
space:
mode:
authorMilan Lenco <milan.lenco@pantheon.tech>2018-06-25 10:49:39 +0200
committerTomas Slusny <slusnucky@gmail.com>2018-07-02 11:11:02 +0200
commit7c044e96ae66f2403e4d82005943a0f6d99bb6a7 (patch)
treef73c4c3882f22b878c6538a5ce46e76bc704bbed /extras/libmemif/README.md
parent5276b9439d0f902e125a5113bfa4f1b6622aea18 (diff)
Add compatibility with libmemif 2
Change-Id: Iff143c7aeb973b3f8629a7412bb956c1b8f8f81d Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Diffstat (limited to 'extras/libmemif/README.md')
-rw-r--r--extras/libmemif/README.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/extras/libmemif/README.md b/extras/libmemif/README.md
index 39a6d58..3b692b1 100644
--- a/extras/libmemif/README.md
+++ b/extras/libmemif/README.md
@@ -17,6 +17,8 @@ locations, execute:
```
$ git clone https://gerrit.fd.io/r/vpp
$ cd vpp/extras/libmemif
+$ ./bootstrap
+$ ./configure
$ make install
```
@@ -144,9 +146,10 @@ used to decode and construct packets.
The appropriate VPP configuration for the opposite memif is:
```
-vpp$ create memif id 1 socket /tmp/icmp-responder-example slave secret secret
-vpp$ set int state memif0/1 up
-vpp$ set int ip address memif0/1 192.168.1.2/24
+vpp$ create memif socket id 1 filename /tmp/icmp-responder-example
+vpp$ create interface memif id 1 socket-id 1 slave secret secret no-zero-copy
+vpp$ set int state memif1/1 up
+vpp$ set int ip address memif1/1 192.168.1.2/24
```
To start the example, simply type: