summaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/device/dpdk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/dpdk/device/dpdk.h b/src/plugins/dpdk/device/dpdk.h
index 40f9dce0c05..94842a56397 100644
--- a/src/plugins/dpdk/device/dpdk.h
+++ b/src/plugins/dpdk/device/dpdk.h
@@ -356,9 +356,9 @@ typedef struct
u16 device_index;
u8 queue_index;
struct rte_mbuf mb;
+ u8 data[256]; /* First 256 data bytes, used for hexdump */
/* Copy of VLIB buffer; packet data stored in pre_data. */
vlib_buffer_t buffer;
- u8 data[256]; /* First 256 data bytes, used for hexdump */
} dpdk_tx_trace_t;
typedef struct
@@ -367,8 +367,8 @@ typedef struct
u16 device_index;
u16 queue_index;
struct rte_mbuf mb;
- vlib_buffer_t buffer; /* Copy of VLIB buffer; pkt data stored in pre_data. */
u8 data[256]; /* First 256 data bytes, used for hexdump */
+ vlib_buffer_t buffer; /* Copy of VLIB buffer; pkt data stored in pre_data. */
} dpdk_rx_trace_t;
void dpdk_device_setup (dpdk_device_t * xd);