X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Flibmemif%2Flibmemif_doc.md;h=a6e1e7576ef141c42d7504966c72b92d58f931be;hb=ba5f9bc7534bcf58225b0658993728b1f4d47a67;hp=fb4a18aff1b0bb3ec69a6f58508606d559ad3c80;hpb=64ebb5ff1338140d94c7f9ee72138fe84d89de2e;p=vpp.git diff --git a/extras/libmemif/libmemif_doc.md b/extras/libmemif/libmemif_doc.md index fb4a18aff1b..a6e1e7576ef 100644 --- a/extras/libmemif/libmemif_doc.md +++ b/extras/libmemif/libmemif_doc.md @@ -47,21 +47,23 @@ Run container: ``` Example application will start in debug mode. Output should look like this: ``` -ICMP_Responder:add_epoll_fd:204: fd 0 added to epoll -MEMIF_DEBUG:src/main.c:memif_init:383: app name: ICMP_Responder -ICMP_Responder:add_epoll_fd:204: fd 4 added to epoll +ICMP_Responder:add_epoll_fd:233: fd 0 added to epoll +ICMP_Responder:add_epoll_fd:233: fd 5 added to epoll LIBMEMIF EXAMPLE APP: ICMP_Responder (debug) ============================== -libmemif version: 1.0 (debug) -memif version: 256 +libmemif version: 2.0 (debug) +memif version: 512 commands: help - prints this help exit - exit app - conn - create memif (slave-mode) + conn [] - create memif. index is also used as interface id, mode 0 = slave 1 = master, interrupt-desc none = default 0 = if ring is full wait 1 = handle only ARP requests del - delete memif show - show connection details ip-set - set interface ip address rx-mode - set queue rx mode + sh-count - print counters + cl-count - clear counters + send - send icmp ``` Continue with @ref libmemif_example_setup which contains instructions on how to set up conenction between icmpr-epoll example app and VPP-memif. @@ -72,3 +74,4 @@ Continue with @ref libmemif_example_setup which contains instructions on how to - @subpage libmemif_examples_doc - @subpage libmemif_example_setup_doc - @subpage libmemif_gettingstarted_doc +- @subpage libmemif_devperftest_doc