summaryrefslogtreecommitdiffstats
path: root/src/svm/message_queue.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-03-30 00:23:54 -0700
committerDamjan Marion <dmarion@me.com>2021-03-30 13:17:42 +0000
commit8c517c8fb44e7003ecdb615bc03163536e24d4d4 (patch)
treef073b3ea507a71b30d97cf42a6c10ee7c4af51af /src/svm/message_queue.h
parentf632ab5e3ba1882106975814597a8e39507d8873 (diff)
svm: cleanup mq private data on fifo segment cleanup
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I65373f2cd5a33381da1e51ed7ab7a8b1358cef29
Diffstat (limited to 'src/svm/message_queue.h')
-rw-r--r--src/svm/message_queue.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/svm/message_queue.h b/src/svm/message_queue.h
index 0e402c5a409..bd76eda5d88 100644
--- a/src/svm/message_queue.h
+++ b/src/svm/message_queue.h
@@ -126,6 +126,11 @@ uword svm_msg_q_size_to_alloc (svm_msg_q_cfg_t *cfg);
void svm_msg_q_attach (svm_msg_q_t *mq, void *smq_base);
/**
+ * Cleanup mq's private data
+ */
+void svm_msg_q_cleanup (svm_msg_q_t *mq);
+
+/**
* Free message queue
*
* @param mq message queue to be freed