marvell: fix implicit declaration of function 58/31458/3
authorRobert Shearman <robertshearman@gmail.com>
Fri, 26 Feb 2021 11:24:59 +0000 (11:24 +0000)
committerDamjan Marion <dmarion@me.com>
Fri, 5 Mar 2021 08:26:34 +0000 (08:26 +0000)
Fix compile error due to implicit declaration of
vnet_hw_if_get_rxq_poll_vector by including the header file that
declares this.

Type: fix
Fixes: b85b0df2a039b694fb2f3c09a01decfb89d7bce2
Signed-off-by: Robert Shearman <robertshearman@gmail.com>
Change-Id: I4a21743df93ffaa637641838d30b3b5c70dd79ef

src/plugins/marvell/pp2/input.c

index d4a53fb..0c51d7d 100644 (file)
@@ -25,6 +25,7 @@
 #include <vlib/unix/unix.h>
 #include <vnet/ethernet/ethernet.h>
 #include <vnet/devices/devices.h>
+#include <vnet/interface/rx_queue_funcs.h>
 
 #include <marvell/pp2/pp2.h>