24 #ifndef SURICATA_SOURCE_DPDK_H
25 #define SURICATA_SOURCE_DPDK_H
30 #include <rte_ethdev.h>
35 #define DPDK_BURST_TX_WAIT_US 1
39 #define DPDK_PROMISC (1 << 0)
40 #define DPDK_MULTICAST (1 << 1)
41 #define DPDK_IRQ_MODE (1 << 2)
43 #define DPDK_RX_CHECKSUM_OFFLOAD (1 << 4)
54 char iface[RTE_ETH_NAME_MAX_LEN];
61 const char *out_iface;
69 bool vlan_strip_enabled;
70 uint16_t nb_rx_queues;
72 uint16_t nb_tx_queues;
74 uint32_t mempool_size;
75 uint32_t mempool_cache_size;
76 struct rte_mempool *pkt_mempool;
82 void (*DerefFunc)(
void *);
84 struct rte_flow *flow[100];