4 =======================
6 Memif library implemented in Go. The package contains 3 examples: Bridge and ICMP responder in interrupt and polling mode.
16 To Run ICMP responder in interrupt mode:
20 DBGvpp# create interface memif id 0 master no-zero-copy
21 DBGvpp# set int ip addr memif0/0 192.168.1.2/24
22 DBGvpp# set int state memif0/0 up
24 bazel-bin/examples/linux_amd64_stripped/icmp_responder_cb
27 DBGvpp# ping 192.168.1.1
29 To Run ICMP responder in polling mode:
33 DBGvpp# create interface memif id 0 master no-zero-copy
34 DBGvpp# set int ip addr memif0/0 192.168.1.2/24
35 DBGvpp# set int state memif0/0 up
37 bazel-bin/examples/linux_amd64_stripped/icmp_responder_poll
40 DBGvpp# ping 192.168.1.1
46 bazel-bin/examples/linux_amd64_stripped/bridge