From 46bf8665dd9e260c8cdfa4030009503acd2e0a12 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 22 Nov 2018 22:25:38 +0100 Subject: vhost-user: add missing inlines Change-Id: I1ed39c4ee084b26faac8286d9729413311ba9508 Signed-off-by: Damjan Marion --- src/vnet/devices/virtio/vhost_user_input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vnet') 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, -- cgit 1.2.3-korg