24 #ifndef SURICATA_SOURCE_DPDK_H
25 #define SURICATA_SOURCE_DPDK_H
31 #include <rte_ethdev.h>
36 #define DPDK_BURST_TX_WAIT_US 1
40 #define DPDK_PROMISC (1 << 0)
41 #define DPDK_MULTICAST (1 << 1)
42 #define DPDK_IRQ_MODE (1 << 2)
44 #define DPDK_RX_CHECKSUM_OFFLOAD (1 << 4)
55 char iface[RTE_ETH_NAME_MAX_LEN];
62 const char *out_iface;
70 bool vlan_strip_enabled;
71 uint16_t nb_rx_queues;
73 uint16_t nb_tx_queues;
75 uint32_t mempool_size;
76 uint32_t mempool_cache_size;
77 DPDKDeviceResources *pkt_mempools;
78 uint16_t linkup_timeout;
84 void (*DerefFunc)(
void *);
86 struct rte_flow *flow[100];