From 6a5be214b95f3ec9f30eab46aa1a21a62a7bbc85 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Thu, 11 May 2017 14:55:43 +0200 Subject: dpdk: bump to dpdk 17.05 Change-Id: I19744387859129c6b8dc104041af158bf5f1d988 Signed-off-by: Damjan Marion --- src/plugins/dpdk/hqos/hqos.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/plugins/dpdk/hqos') diff --git a/src/plugins/dpdk/hqos/hqos.c b/src/plugins/dpdk/hqos/hqos.c index ca1bdafaaa6..2f2504d6e1d 100644 --- a/src/plugins/dpdk/hqos/hqos.c +++ b/src/plugins/dpdk/hqos/hqos.c @@ -430,7 +430,11 @@ dpdk_hqos_thread_internal_hqos_dbg_bypass (vlib_main_t * vm) pkts_enq_len += rte_ring_sc_dequeue_burst (swq, (void **) &pkts_enq[pkts_enq_len], +#if RTE_VERSION >= RTE_VERSION_NUM(17, 5, 0, 0) + hqos->hqos_burst_enq, 0); +#else hqos->hqos_burst_enq); +#endif /* Get next SWQ for this device */ swq_pos++; @@ -521,7 +525,11 @@ dpdk_hqos_thread_internal (vlib_main_t * vm) pkts_enq_len += rte_ring_sc_dequeue_burst (swq, (void **) &pkts_enq[pkts_enq_len], +#if RTE_VERSION >= RTE_VERSION_NUM(17, 5, 0, 0) + hqos->hqos_burst_enq, 0); +#else hqos->hqos_burst_enq); +#endif /* Get next SWQ for this device */ swq_pos++; -- cgit 1.2.3-korg