aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dmm
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-04-26 12:41:14 +0200
committerMichal Cmarada <mcmarada@cisco.com>2019-04-26 10:48:32 +0000
commitf6e9d58ecd95789e0b3292983fafff223ec75a2c (patch)
tree6c3db88e0a8d58484437a55c506680cb8ae44d57 /tests/dmm
parent0cbb8a2f0af3902cbe14fbdd19852103263e922b (diff)
fix removal of build packages for honeycomb
Change-Id: I19be5008067067c2e7c78e7673a9ceaaf2f52c8f Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'tests/dmm')
0 files changed, 0 insertions, 0 deletions
lass="p">); vl_api_registration_t *vl_mem_api_client_index_to_registration (u32 handle); void vl_mem_api_enable_disable (vlib_main_t * vm, int yesno); u32 vl_api_memclnt_create_internal (char *, svm_queue_t *); static inline u32 vl_msg_api_handle_get_epoch (u32 index) { return (index & VL_API_EPOCH_MASK); } static inline u32 vl_msg_api_handle_get_index (u32 index) { return (index >> VL_API_EPOCH_SHIFT); } static inline u32 vl_msg_api_handle_from_index_and_epoch (u32 index, u32 epoch) { u32 handle; ASSERT (index < 0x00FFFFFF); handle = (index << VL_API_EPOCH_SHIFT) | (epoch & VL_API_EPOCH_MASK); return handle; } static inline u8 vl_msg_api_handle_is_valid (u32 handle, u32 restarts) { u32 epoch = vl_msg_api_handle_get_epoch (handle); return ((restarts & VL_API_EPOCH_MASK) == epoch); } #define VL_MEM_API_LOG_Q_LEN(fmt,qlen) \ if (TRACE_VLIB_MEMORY_QUEUE) \ do { \ ELOG_TYPE_DECLARE (e) = { \ .format = fmt, \ .format_args = "i4", \ }; \ struct { u32 len; } *ed; \ ed = ELOG_DATA (&vm->elog_main, e); \ ed->len = qlen; \ } while (0) #endif /* SRC_VLIBMEMORY_MEMORY_API_H_ */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */