#include <unistd.h>
#include <rte_ethdev.h>
#include <doca_log.h>
#include <doca_flow.h>
#include <doca_flow_ct.h>
#include "flow_ct_common.h"
#include "flow_common.h"
Go to the source code of this file.
|
| | DOCA_LOG_REGISTER (FLOW_CT_UDP) |
| |
| static doca_error_t | create_rss_pipe (struct doca_flow_port *port, struct entries_status *status, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | create_ct_pipe (struct doca_flow_port *port, struct doca_flow_pipe *fwd_pipe, struct doca_flow_pipe *fwd_miss_pipe, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | create_vxlan_encap_pipe (struct doca_flow_port *port, int port_id, struct entries_status *status, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | create_count_pipe (struct doca_flow_port *port, struct doca_flow_pipe *fwd_pipe, struct entries_status *status, struct doca_flow_pipe **pipe) |
| |
| static void | parse_packet (struct rte_mbuf *packet, struct doca_flow_ct_match *match_o, struct doca_flow_ct_match *match_r) |
| |
| static doca_error_t | process_packets (struct doca_flow_port *port, uint16_t ct_queue, struct entries_status *ct_status, struct doca_flow_pipe_entry **entry) |
| |
| doca_error_t | flow_ct_udp_query (uint16_t nb_queues, struct doca_dev *ct_dev) |
| |
◆ DEFAULT_CNT_QUERY_INTERVAL
| #define DEFAULT_CNT_QUERY_INTERVAL 1 |
◆ DEFAULT_UDP_DELAY_S
| #define DEFAULT_UDP_DELAY_S 2 |
◆ PACKET_BURST
◆ create_count_pipe()
| static doca_error_t create_count_pipe |
( |
struct doca_flow_port * |
port, |
|
|
struct doca_flow_pipe * |
fwd_pipe, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ create_ct_pipe()
| static doca_error_t create_ct_pipe |
( |
struct doca_flow_port * |
port, |
|
|
struct doca_flow_pipe * |
fwd_pipe, |
|
|
struct doca_flow_pipe * |
fwd_miss_pipe, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ create_rss_pipe()
| static doca_error_t create_rss_pipe |
( |
struct doca_flow_port * |
port, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ create_vxlan_encap_pipe()
| static doca_error_t create_vxlan_encap_pipe |
( |
struct doca_flow_port * |
port, |
|
|
int |
port_id, |
|
|
struct entries_status * |
status, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
FLOW_CT_UDP |
| ) |
|
◆ flow_ct_udp_query()
| doca_error_t flow_ct_udp_query |
( |
uint16_t |
nb_queues, |
|
|
struct doca_dev * |
ct_dev |
|
) |
| |
◆ parse_packet()
◆ process_packets()
| static doca_error_t process_packets |
( |
struct doca_flow_port * |
port, |
|
|
uint16_t |
ct_queue, |
|
|
struct entries_status * |
ct_status, |
|
|
struct doca_flow_pipe_entry ** |
entry |
|
) |
| |
|
static |