Skip to content

Commit

Permalink
async: fixed coredump when enable dpdk.
Browse files Browse the repository at this point in the history
Signed-off-by: Pan Liu <pan.liu@istuary.com>
  • Loading branch information
Pan Liu committed Jan 10, 2017
1 parent 59c0108 commit 96046f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/msg/async/dpdk/DPDK.h
Original file line number Diff line number Diff line change
Expand Up @@ -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");

This comment has been minimized.

Copy link
@tchaikov

tchaikov Jan 10, 2017

Contributor

@liupan1111 and @yuyuyu101 please note imcasts and ibadcrc are marked deprecated and removed in latest DPDK. see 09b4978. @liupan1111 could you share more details on the coredump?

This comment has been minimized.

Copy link
@yuyuyu101

yuyuyu101 Jan 10, 2017

Member

oh, yes. we need to remote these

This comment has been minimized.

Copy link
@tchaikov

tchaikov Jan 10, 2017

Contributor
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");
Expand Down

0 comments on commit 96046f5

Please sign in to comment.