aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-11-22 22:25:38 +0100
committerOle Trøan <otroan@employees.org>2018-11-23 11:41:14 +0000
commit46bf8665dd9e260c8cdfa4030009503acd2e0a12 (patch)
tree8bbdb89acd47fa05ec5cd0abc40982988206b639
parentba1afaae5179a756cdedd37a837127ee248c1ad6 (diff)
vhost-user: add missing inlines
Change-Id: I1ed39c4ee084b26faac8286d9729413311ba9508 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--src/vnet/devices/virtio/vhost_user_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/vhost_user_input.c b/src/vnet/devices/virtio/vhost_user_input.c
index 720119db2fb..570f0806772 100644
--- a/src/vnet/devices/virtio/vhost_user_input.c
+++ b/src/vnet/devices/virtio/vhost_user_input.c
@@ -224,7 +224,7 @@ out:
/*
* In case of overflow, we need to rewind the array of allocated buffers.
*/
-static __clib_unused void
+static_always_inline void
vhost_user_input_rewind_buffers (vlib_main_t * vm,
vhost_cpu_t * cpu, vlib_buffer_t * b_head)
{
@@ -243,7 +243,7 @@ vhost_user_input_rewind_buffers (vlib_main_t * vm,
cpu->rx_buffers_len++;
}
-static __clib_unused u32
+static_always_inline u32
vhost_user_if_input (vlib_main_t * vm,
vhost_user_main_t * vum,
vhost_user_intf_t * vui,