From eaec2a6d9ab8b983aaee536be1a95846c07a9d7f Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 4 Dec 2018 16:34:05 -0800 Subject: bapi: add options to have vpp cleanup client registration A client can send a memclnt delete message and ask vpp to cleanup the shared memory queue. Obviously, in this case no delete reply is sent back to the client. Change-Id: I9c8375093f8607680ad498a6bed0690ba02a7c3b Signed-off-by: Florin Coras --- src/vlibmemory/memclnt.api | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vlibmemory/memclnt.api') diff --git a/src/vlibmemory/memclnt.api b/src/vlibmemory/memclnt.api index 451bc0e5fae..4802732a07b 100644 --- a/src/vlibmemory/memclnt.api +++ b/src/vlibmemory/memclnt.api @@ -14,7 +14,7 @@ * limitations under the License. */ -option version = "2.0.0"; +option version = "2.1.0"; /* * Define services not following the normal conventions here @@ -53,6 +53,7 @@ manual_print define memclnt_delete { u32 index; /* index, used e.g. by API trace replay */ u64 handle; /* handle by which vlib knows this client */ + u8 do_cleanup; /* vlib to cleanup the registration */ }; define memclnt_delete_reply { -- cgit 1.2.3-korg