26 #ifndef DOCA_GPU_PACKET_PROCESSING_TCP_RSS_H
27 #define DOCA_GPU_PACKET_PROCESSING_TCP_RSS_H
30 #include <arpa/inet.h>
32 #include <rte_ethdev.h>
33 #include <rte_malloc.h>
40 #define TCP_PACKET_MAX_BURST_SIZE 4096
57 const struct rte_tcp_hdr *
extract_tcp_hdr(
const struct rte_mbuf *packet);
69 const struct rte_mbuf *pkt,
70 struct doca_flow_port *port,
71 struct doca_flow_pipe *gpu_rss_pipe);
88 void log_tcp_flag(
const struct rte_mbuf *packet,
const char *flags);
97 struct rte_mbuf *
create_ack_packet(
const struct rte_mbuf *src_packet,
struct rte_mempool *tcp_ack_pkt_pool);
enum doca_error doca_error_t
DOCA API return codes.