| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <string.h>#include <unistd.h>#include <rte_byteorder.h>#include <doca_flow.h>#include <doca_log.h>#include "flow_common.h"#include "flow_switch_common.h"
Go to the source code of this file.
Macros | |
| #define | NB_ENTRIES 2 /* number of entries in the created control pipe */ |
Functions | |
| DOCA_LOG_REGISTER (FLOW_SWITCH_CONTROL_PIPE) | |
| static doca_error_t | create_control_pipe (struct doca_flow_port *port, struct doca_flow_pipe **pipe) |
| static doca_error_t | add_control_pipe_entries (struct doca_flow_pipe *control_pipe, struct entries_status *status) |
| doca_error_t | flow_switch_control_pipe (int nb_queues, struct flow_switch_ctx *ctx) |
Variables | |
| static struct doca_flow_pipe_entry * | entries [NB_ENTRIES] |
| #define NB_ENTRIES 2 /* number of entries in the created control pipe */ |
Definition at line 39 of file flow_switch_control_pipe_sample.c.
|
static |
Definition at line 80 of file flow_switch_control_pipe_sample.c.
|
static |
Definition at line 50 of file flow_switch_control_pipe_sample.c.
| DOCA_LOG_REGISTER | ( | FLOW_SWITCH_CONTROL_PIPE | ) |
| doca_error_t flow_switch_control_pipe | ( | int | nb_queues, |
| struct flow_switch_ctx * | ctx | ||
| ) |
Definition at line 134 of file flow_switch_control_pipe_sample.c.
|
static |
Definition at line 41 of file flow_switch_control_pipe_sample.c.