NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
flow_set_meta_sample.c File Reference
#include <string.h>
#include <unistd.h>
#include <doca_log.h>
#include <doca_flow.h>
#include <doca_bitfield.h>
#include "flow_common.h"
Include dependency graph for flow_set_meta_sample.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (FLOW_SET_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_set_meta_pipe (struct doca_flow_port *port, struct doca_flow_pipe *match_meta_pipe, struct doca_flow_pipe **pipe)
 
static doca_error_t add_set_meta_pipe_entry (struct doca_flow_pipe *pipe, struct entries_status *status)
 
doca_error_t flow_set_meta (int nb_queues)
 

Function Documentation

◆ add_match_meta_pipe_entry()

static doca_error_t add_match_meta_pipe_entry ( struct doca_flow_pipe *  pipe,
struct entries_status status 
)
static

Definition at line 103 of file flow_set_meta_sample.c.

◆ add_set_meta_pipe_entry()

static doca_error_t add_set_meta_pipe_entry ( struct doca_flow_pipe *  pipe,
struct entries_status status 
)
static

Definition at line 197 of file flow_set_meta_sample.c.

◆ create_match_meta_pipe()

static doca_error_t create_match_meta_pipe ( struct doca_flow_port *  port,
int  port_id,
struct doca_flow_pipe **  pipe 
)
static

Definition at line 45 of file flow_set_meta_sample.c.

◆ create_set_meta_pipe()

static doca_error_t create_set_meta_pipe ( struct doca_flow_port *  port,
struct doca_flow_pipe *  match_meta_pipe,
struct doca_flow_pipe **  pipe 
)
static

Definition at line 131 of file flow_set_meta_sample.c.

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( FLOW_SET_META  )

◆ flow_set_meta()

doca_error_t flow_set_meta ( int  nb_queues)

Definition at line 235 of file flow_set_meta_sample.c.