NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
tcp_cpu_rss_func.c File Reference
Include dependency graph for tcp_cpu_rss_func.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (TCP_CPU_RSS)
 
int tcp_cpu_rss_func (void *lcore_args)
 
const struct rte_tcp_hdr * extract_tcp_hdr (const struct rte_mbuf *packet)
 
doca_error_t create_tcp_session (const uint16_t queue_id, const struct rte_mbuf *pkt, struct doca_flow_port *port, struct doca_flow_pipe *gpu_rss_pipe)
 
void destroy_tcp_session (const uint16_t queue_id, const struct rte_mbuf *pkt, struct doca_flow_port *port)
 
void log_tcp_flag (const struct rte_mbuf *packet, const char *flags)
 
struct rte_mbuf * create_ack_packet (const struct rte_mbuf *src_packet, struct rte_mempool *tcp_ack_pkt_pool)
 
struct tcp_session_key extract_session_key (const struct rte_mbuf *packet)
 

Function Documentation

◆ create_ack_packet()

struct rte_mbuf* create_ack_packet ( const struct rte_mbuf *  src_packet,
struct rte_mempool *  tcp_ack_pkt_pool 
)

Definition at line 220 of file tcp_cpu_rss_func.c.

◆ create_tcp_session()

doca_error_t create_tcp_session ( const uint16_t  queue_id,
const struct rte_mbuf *  pkt,
struct doca_flow_port *  port,
struct doca_flow_pipe *  gpu_rss_pipe 
)

Definition at line 163 of file tcp_cpu_rss_func.c.

◆ destroy_tcp_session()

void destroy_tcp_session ( const uint16_t  queue_id,
const struct rte_mbuf *  pkt,
struct doca_flow_port *  port 
)

Definition at line 188 of file tcp_cpu_rss_func.c.

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( TCP_CPU_RSS  )

◆ extract_session_key()

struct tcp_session_key extract_session_key ( const struct rte_mbuf *  packet)

Definition at line 220 of file tcp_cpu_rss_func.c.

◆ extract_tcp_hdr()

const struct rte_tcp_hdr* extract_tcp_hdr ( const struct rte_mbuf *  packet)

Definition at line 140 of file tcp_cpu_rss_func.c.

◆ log_tcp_flag()

void log_tcp_flag ( const struct rte_mbuf *  packet,
const char *  flags 
)

Definition at line 202 of file tcp_cpu_rss_func.c.

◆ tcp_cpu_rss_func()

int tcp_cpu_rss_func ( void *  lcore_args)

Definition at line 31 of file tcp_cpu_rss_func.c.