From e86a8edd3c14fb41ace2a12efd17bc7772bf623f Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Fri, 5 Jan 2018 03:20:25 -0800 Subject: api: refactor vlibmemory - separate client/server code for both memory and socket apis - separate memory api code from generic vlib api code - move unix_shared_memory_fifo to svm and rename to svm_fifo_t - overall declutter Change-Id: I90cdd98ff74d0787d58825b914b0f1eafcfa4dc2 Signed-off-by: Florin Coras --- src/vnet/mfib/mfib_signal.c | 2 +- src/vnet/mfib/mfib_signal.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/vnet/mfib') diff --git a/src/vnet/mfib/mfib_signal.c b/src/vnet/mfib/mfib_signal.c index cd486da32f8..38e4bbabb3c 100644 --- a/src/vnet/mfib/mfib_signal.c +++ b/src/vnet/mfib/mfib_signal.c @@ -91,7 +91,7 @@ mfib_signal_lock_release (void) } int -mfib_signal_send_one (struct _unix_shared_memory_queue *q, +mfib_signal_send_one (struct _svm_queue *q, u32 context) { u32 li, si; diff --git a/src/vnet/mfib/mfib_signal.h b/src/vnet/mfib/mfib_signal.h index 732d8aff3e9..4dd60a6dace 100644 --- a/src/vnet/mfib/mfib_signal.h +++ b/src/vnet/mfib/mfib_signal.h @@ -47,12 +47,12 @@ extern void mfib_signal_remove_itf(const mfib_itf_t *mfi); extern void mfib_signal_module_init(void); -struct _unix_shared_memory_queue; +struct _svm_queue; -extern void vl_mfib_signal_send_one(struct _unix_shared_memory_queue *q, +extern void vl_mfib_signal_send_one(struct _svm_queue *q, u32 context, const mfib_signal_t *mfs); -extern int mfib_signal_send_one(struct _unix_shared_memory_queue *q, +extern int mfib_signal_send_one(struct _svm_queue *q, u32 context); #endif -- cgit 1.2.3-korg