#include <stdlib.h>
#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_AGING) |
| |
| static doca_error_t | handle_aged_flow (struct doca_flow_port *port, uint16_t ct_queue, struct entries_status *status, int *total_counter) |
| |
| static void | check_for_valid_entry_aging (struct doca_flow_pipe_entry *entry, uint16_t pipe_queue, enum doca_flow_entry_status status, enum doca_flow_entry_op op, void *user_ctx) |
| |
| static doca_error_t | create_ct_pipe (struct doca_flow_port *port, struct doca_flow_pipe *fwd_pipe, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | create_count_pipe (struct doca_flow_port *port, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | add_age_ct_entries (struct doca_flow_port *port, uint16_t ct_queue, const int nb_aging_entries, struct entries_status *status, struct aging_user_data *user_data[nb_aging_entries]) |
| |
| doca_error_t | flow_ct_aging (uint16_t nb_queues, struct doca_dev *ct_dev) |
| |
◆ N_BURST
◆ add_age_ct_entries()
◆ check_for_valid_entry_aging()
◆ create_count_pipe()
| static doca_error_t create_count_pipe |
( |
struct doca_flow_port * |
port, |
|
|
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 ** |
pipe |
|
) |
| |
|
static |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
FLOW_CT_AGING |
| ) |
|
◆ flow_ct_aging()
| doca_error_t flow_ct_aging |
( |
uint16_t |
nb_queues, |
|
|
struct doca_dev * |
ct_dev |
|
) |
| |
◆ handle_aged_flow()
| static doca_error_t handle_aged_flow |
( |
struct doca_flow_port * |
port, |
|
|
uint16_t |
ct_queue, |
|
|
struct entries_status * |
status, |
|
|
int * |
total_counter |
|
) |
| |
|
static |