aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device/dpdk.h
diff options
context:
space:
mode:
authorDave Barach <dbarach@cisco.com>2018-07-26 12:27:27 -0400
committerFlorin Coras <florin.coras@gmail.com>2018-07-26 19:24:32 +0000
commitf91080c01104a5999fe6c08e699b3426fea62dad (patch)
tree4069795b7ee0d72d7cd21a37f31880771166899c /src/plugins/dpdk/device/dpdk.h
parent9594b56e6f795751cfef562920ded7874376e91c (diff)
Clean up dpdk plugin rx/tx pcap tracing
Needed a spinlock to protect the data vector. Cleaned up debug cli so the output makes sense, and so that various parameters exist in one place. Removed a nonsense memset-to-zero which led to ultra-confusing results. Change-Id: I91cd14ce7fe84fd2eceab86e016b5ee001993be4 Signed-off-by: Dave Barach <dbarach@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/device/dpdk.h')
-rw-r--r--src/plugins/dpdk/device/dpdk.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index f09a69c7f45..2a3794735d2 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -391,10 +391,8 @@ typedef struct
typedef struct
{
int pcap_enable;
- pcap_main_t pcap_main;
- u8 *pcap_filename;
u32 pcap_sw_if_index;
- u32 pcap_pkts_to_capture;
+ pcap_main_t pcap_main;
} dpdk_pcap_t;
typedef struct