aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp/api
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-02-28 21:55:28 +0100
committerNeale Ranns <nranns@cisco.com>2017-03-01 11:11:37 +0000
commitb3bb10101ceffec1df0624c785acbd40858870ec (patch)
tree9f4a8bc34be67373a372f800cd6eab86e85d556a /src/vpp/api
parentf7c379403a98cf060d28bac24916c51067c4ec90 (diff)
devices: vnet_get_aggregate_rx_packets should not be dpdk specific
Change-Id: I1152db4b7d1602653d7d8b2c6cb28cf5c526c4ca Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vpp/api')
-rw-r--r--src/vpp/api/gmon.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/vpp/api/gmon.c b/src/vpp/api/gmon.c
index 20deb6a2..b28608f0 100644
--- a/src/vpp/api/gmon.c
+++ b/src/vpp/api/gmon.c
@@ -59,17 +59,9 @@ typedef struct
} gmon_main_t;
-#if DPDK == 0
-static inline u64
-vnet_get_aggregate_rx_packets (void)
-{
- return 0;
-}
-#else
#include <vlib/vlib.h>
#include <vnet/vnet.h>
-#include <vnet/devices/dpdk/dpdk.h>
-#endif
+#include <vnet/devices/devices.h>
gmon_main_t gmon_main;