From af0ff5af0cd471033169e63c6111d23cd801928c Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Wed, 10 Jan 2018 08:17:03 -0800 Subject: 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 --- src/vnet/mfib/mfib_signal.c | 4 ++-- src/vnet/mfib/mfib_signal.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/vnet/mfib') diff --git a/src/vnet/mfib/mfib_signal.c b/src/vnet/mfib/mfib_signal.c index 38e4bbabb3c..ce9a664c548 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 _svm_queue *q, +mfib_signal_send_one (struct vl_api_registration_ *reg, u32 context) { u32 li, si; @@ -121,7 +121,7 @@ mfib_signal_send_one (struct _svm_queue *q, ~MFIB_ITF_FLAG_SIGNAL_PRESENT); - vl_mfib_signal_send_one(q, context, mfs); + vl_mfib_signal_send_one(reg, context, mfs); /* * with the lock held, return the resoruces of the signals posted diff --git a/src/vnet/mfib/mfib_signal.h b/src/vnet/mfib/mfib_signal.h index 4dd60a6dace..f6609b3d8c1 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 _svm_queue; +struct vl_api_registration_; -extern void vl_mfib_signal_send_one(struct _svm_queue *q, +extern void vl_mfib_signal_send_one(struct vl_api_registration_ *q, u32 context, const mfib_signal_t *mfs); -extern int mfib_signal_send_one(struct _svm_queue *q, +extern int mfib_signal_send_one(struct vl_api_registration_ *reg, u32 context); #endif -- cgit 1.2.3-korg