diff options
author | Florin Coras <fcoras@cisco.com> | 2018-01-10 08:17:03 -0800 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-01-11 22:06:14 +0000 |
commit | af0ff5af0cd471033169e63c6111d23cd801928c (patch) | |
tree | 26abdbe9637ec38416ea819bc8d0ad1e0a19dfe1 /src/vlibmemory/memory_shared.h | |
parent | ee7e1f50726490990b593b850857b3877c9a687f (diff) |
api: fix handlers that explicitly depend on svm queue
Fixes the remainig apis that explicitly check svm queue length.
Change-Id: I6055c7c50050affee3098e162e15fb12c205e5db
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vlibmemory/memory_shared.h')
-rw-r--r-- | src/vlibmemory/memory_shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlibmemory/memory_shared.h b/src/vlibmemory/memory_shared.h index f60224a1815..8a7667c14d3 100644 --- a/src/vlibmemory/memory_shared.h +++ b/src/vlibmemory/memory_shared.h @@ -115,6 +115,7 @@ void vl_unmap_shmem (void); void vl_register_mapped_shmem_region (svm_region_t * rp); void vl_msg_api_send_shmem (svm_queue_t * q, u8 * elem); void vl_msg_api_send_shmem_nolock (svm_queue_t * q, u8 * elem); +int vl_mem_api_can_send (svm_queue_t * q); void vl_set_memory_region_name (const char *name); void vl_set_memory_root_path (const char *root_path); void vl_set_memory_uid (int uid); |