| NVIDIA DOCA SDK | Data Center on a Chip Framework Documentation |
#include <string.h>#include <unistd.h>#include <doca_log.h>#include <doca_flow.h>#include <doca_bitfield.h>#include "flow_common.h"
Go to the source code of this file.
Macros | |
| #define | META_U32_BIT_OFFSET(idx) (offsetof(struct doca_flow_meta, u32[(idx)]) << 3) |
| #define | NB_ACTION_DESC (2) |
| #define | META_DMAC_47_32_FIELD (DOCA_BE32_GENMASK(15, 0)) |
Functions | |
| DOCA_LOG_REGISTER (FLOW_COPY_TO_META) | |
| static doca_error_t | create_match_meta_pipe (struct doca_flow_port *port, int port_id, struct doca_flow_pipe **pipe) |
| static doca_error_t | add_match_meta_pipe_entry (struct doca_flow_pipe *pipe, struct entries_status *status) |
| static doca_error_t | create_copy_to_meta_pipe (struct doca_flow_port *port, struct doca_flow_pipe *match_meta_pipe, struct doca_flow_pipe **pipe) |
| static doca_error_t | add_copy_to_meta_pipe_entry (struct doca_flow_pipe *pipe, struct entries_status *status) |
| doca_error_t | flow_copy_to_meta (int nb_queues) |
| #define META_DMAC_47_32_FIELD (DOCA_BE32_GENMASK(15, 0)) |
Definition at line 38 of file flow_copy_to_meta_sample.c.
| #define META_U32_BIT_OFFSET | ( | idx | ) | (offsetof(struct doca_flow_meta, u32[(idx)]) << 3) |
Definition at line 35 of file flow_copy_to_meta_sample.c.
| #define NB_ACTION_DESC (2) |
Definition at line 36 of file flow_copy_to_meta_sample.c.
|
static |
Definition at line 229 of file flow_copy_to_meta_sample.c.
|
static |
Definition at line 109 of file flow_copy_to_meta_sample.c.
|
static |
Definition at line 138 of file flow_copy_to_meta_sample.c.
|
static |
Definition at line 50 of file flow_copy_to_meta_sample.c.
| DOCA_LOG_REGISTER | ( | FLOW_COPY_TO_META | ) |
| doca_error_t flow_copy_to_meta | ( | int | nb_queues | ) |
Definition at line 265 of file flow_copy_to_meta_sample.c.