Commit 772cf390 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

event: remove DPDK rte_timer dependency



All timers have been converted to SPDK pollers.

If an app requires rte_timer support, it should register its own poller
that calls rte_timer_manage().

Change-Id: I8a827a357b344deac76d42357a5a84ac2daabbf8
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 3e8487f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ endif

DPDK_INC = -I$(DPDK_ABS_DIR)/include
DPDK_LIB = $(DPDK_ABS_DIR)/lib/librte_eal.a $(DPDK_ABS_DIR)/lib/librte_mempool.a \
	   $(DPDK_ABS_DIR)/lib/librte_ring.a $(DPDK_ABS_DIR)/lib/librte_timer.a
	   $(DPDK_ABS_DIR)/lib/librte_ring.a

# librte_malloc was removed after DPDK 2.1.  Link this library conditionally based on its
#  existence to maintain backward compatibility.
+0 −3
Original line number Diff line number Diff line
@@ -51,7 +51,6 @@
#include <rte_cycles.h>
#include <rte_mempool.h>
#include <rte_ring.h>
#include <rte_timer.h>

#include "reactor.h"

@@ -352,8 +351,6 @@ _spdk_reactor_run(void *arg)
			last_action = rte_get_timer_cycles();
		}

		rte_timer_manage();

		poller = TAILQ_FIRST(&reactor->active_pollers);
		if (poller) {
			TAILQ_REMOVE(&reactor->active_pollers, poller, tailq);