#include <string.h>
#include <unistd.h>
#include <rte_byteorder.h>
#include <doca_log.h>
#include <doca_flow.h>
#include "flow_common.h"
#include "flow_switch_common.h"
Go to the source code of this file.
|
| | DOCA_LOG_REGISTER (FLOW_SWITCH_DIRECTION_INFO) |
| |
| static doca_error_t | create_network_to_host_pipe (struct doca_flow_port *sw_port, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | add_network_to_host_pipe_entries (struct doca_flow_pipe *pipe, struct entries_status *status) |
| |
| static doca_error_t | create_host_to_network_pipe (struct doca_flow_port *sw_port, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | add_host_to_network_pipe_entries (struct doca_flow_pipe *pipe, struct entries_status *status) |
| |
| static doca_error_t | create_switch_pipe (struct doca_flow_port *sw_port, int nb_ports, struct doca_flow_pipe **pipe) |
| |
| static doca_error_t | add_switch_pipe_entries (struct doca_flow_pipe *pipe, struct doca_flow_pipe *n2h_pipe, struct doca_flow_pipe *h2n_pipe, struct entries_status *status) |
| |
| doca_error_t | flow_switch_direction_info (int nb_queues, int nb_ports, struct flow_switch_ctx *ctx) |
| |
◆ NB_ENTRIES
◆ add_host_to_network_pipe_entries()
◆ add_network_to_host_pipe_entries()
◆ add_switch_pipe_entries()
| static doca_error_t add_switch_pipe_entries |
( |
struct doca_flow_pipe * |
pipe, |
|
|
struct doca_flow_pipe * |
n2h_pipe, |
|
|
struct doca_flow_pipe * |
h2n_pipe, |
|
|
struct entries_status * |
status |
|
) |
| |
|
static |
◆ create_host_to_network_pipe()
| static doca_error_t create_host_to_network_pipe |
( |
struct doca_flow_port * |
sw_port, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ create_network_to_host_pipe()
| static doca_error_t create_network_to_host_pipe |
( |
struct doca_flow_port * |
sw_port, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ create_switch_pipe()
| static doca_error_t create_switch_pipe |
( |
struct doca_flow_port * |
sw_port, |
|
|
int |
nb_ports, |
|
|
struct doca_flow_pipe ** |
pipe |
|
) |
| |
|
static |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
FLOW_SWITCH_DIRECTION_INFO |
| ) |
|
◆ flow_switch_direction_info()
◆ entries
◆ entry_idx