From 96046f53e9072cee8ce332392635669593335be2 Mon Sep 17 00:00:00 2001 From: Pan Liu Date: Tue, 10 Jan 2017 11:58:23 +0800 Subject: [PATCH] async: fixed coredump when enable dpdk. Signed-off-by: Pan Liu --- src/msg/async/dpdk/DPDK.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/msg/async/dpdk/DPDK.h b/src/msg/async/dpdk/DPDK.h index b0c7ec78076..3d65a4fe0af 100644 --- a/src/msg/async/dpdk/DPDK.h +++ b/src/msg/async/dpdk/DPDK.h @@ -835,10 +835,8 @@ class DPDKDevice { string name(std::string("port") + std::to_string(port_idx)); PerfCountersBuilder plb(cct, name, l_dpdk_dev_first, l_dpdk_dev_last); -#if RTE_VERSION < RTE_VERSION_NUM(16,7,0,0) plb.add_u64_counter(l_dpdk_dev_rx_mcast, "dpdk_device_receive_multicast_packets", "DPDK received multicast packets"); plb.add_u64_counter(l_dpdk_dev_rx_badcrc_errors, "dpdk_device_receive_badcrc_errors", "DPDK received bad crc errors"); -#endif plb.add_u64_counter(l_dpdk_dev_rx_total_errors, "dpdk_device_receive_total_errors", "DPDK received total_errors"); plb.add_u64_counter(l_dpdk_dev_tx_total_errors, "dpdk_device_send_total_errors", "DPDK sendd total_errors"); -- 2.47.3