X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvlibmemory%2Fmemclnt.api;h=32e51407949a4933ee8387d82b7327163e706400;hb=11b8dbf78af49d270a0e72abe7dea73eec30d85f;hp=2f654caf2c1736f5068bea0adefc67360a26f2b3;hpb=7cd468a3d7dee7d6c92f69a0bb7061ae208ec727;p=vpp.git diff --git a/src/vlibmemory/memclnt.api b/src/vlibmemory/memclnt.api index 2f654caf2c1..32e51407949 100644 --- a/src/vlibmemory/memclnt.api +++ b/src/vlibmemory/memclnt.api @@ -48,18 +48,31 @@ define memclnt_delete_reply { u64 handle; /* in case the client wonders */ }; -/* +/* * Client RX thread exit */ - define rx_thread_exit { u8 dummy; }; +/* + * Client RX thread suspend + */ +define memclnt_rx_thread_suspend { + u8 dummy; +}; + +/* + * Client read timeout + */ +define memclnt_read_timeout { + u8 dummy; +}; + /* * RPC */ -define rpc_call { +autoreply define rpc_call { u32 client_index; u32 context; u64 function; @@ -69,11 +82,6 @@ define rpc_call { u8 data[0]; }; -define rpc_reply { - i32 retval; - u32 context; -}; - /* * Lookup message-ID base by name */ @@ -89,3 +97,18 @@ define get_first_msg_id_reply { i32 retval; u16 first_msg_id; }; + +/* + * Trace the plugin message-id allocator + * so we stand a chance of dealing with different sets of plugins + * at api trace replay time + */ + +manual_print define trace_plugin_msg_ids +{ + u32 client_index; + u32 context; + u8 plugin_name[128]; + u16 first_msg_id; + u16 last_msg_id; +};