summaryrefslogtreecommitdiffstats
path: root/src/svm/queue.h
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-12-27 10:26:56 -0800
committerDave Barach <openvpp@barachs.net>2019-12-30 19:50:38 +0000
commitfea813ae3de5343a2bc91306fddf6dbd1832f93d (patch)
treeabb186eec7f6ed246077f24798ebd7161f731cec /src/svm/queue.h
parent9f3f18f99fd321cdcfc331e92b10b64f0ef590b3 (diff)
svm: broadcast on raw dequeues and full rings
Type: fix Change-Id: I0cac9001290e7ed4e2e318ae62c56e97ec75a3db Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/svm/queue.h')
-rw-r--r--src/svm/queue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svm/queue.h b/src/svm/queue.h
index 2630f17a86c..9d21b24d7ea 100644
--- a/src/svm/queue.h
+++ b/src/svm/queue.h
@@ -77,6 +77,7 @@ int svm_queue_sub (svm_queue_t * q, u8 * elem, svm_q_conditional_wait_t cond,
u32 time);
int svm_queue_sub2 (svm_queue_t * q, u8 * elem);
void svm_queue_lock (svm_queue_t * q);
+void svm_queue_send_signal (svm_queue_t * q, u8 is_prod);
void svm_queue_unlock (svm_queue_t * q);
int svm_queue_is_full (svm_queue_t * q);
int svm_queue_add_nolock (svm_queue_t * q, u8 * elem);