Folks,

Just a heads-up that I have submitted a patch that alters both the
API and the CLI for the memif functions.  That patch is being reviewed
and will (hopefully) be merge soon.

Prior to the patch, the memif CLI supported a create and a delete
command roughly like this:

    vppctl# create memif id <id> filename <socket-filename> (master|slave)
...

After the patch, the management of the <socket-filename> will be through
a separate API call and a corresponding CLI command:

    vppctl# create memif socket id <socket-id> filename <socket-filename>

Then in the memif interface command, one references the <socket-id> instead:

    vppctl# create interface memif id <id> socket-id <socket-id>
(master|slave) ...

Note that in addition to the <socket-id> replacing the <socket-filename>,
the command
itself has changed from "create memif" to "create interface memif".

To flesh-out the patch, dump/details API calls were added for the new
socket id-filename
table, and VAT learned direct API call mechanisms for the new APIs as well.

HTH,
jdl
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to