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

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (FLOW_PARSER_META)
 
static doca_error_t create_match_parser_meta_type_pipe (struct doca_flow_port *port, int port_id, struct doca_flow_pipe **pipe)
 
static doca_error_t add_match_parser_meta_type_pipe_entries (struct doca_flow_pipe *pipe, struct entries_status *status)
 
static doca_error_t create_match_parser_meta_ok_pipe (struct doca_flow_port *port, struct doca_flow_pipe *type_pipe, struct doca_flow_pipe **pipe)
 
static doca_error_t add_match_parser_meta_ok_pipe_entry (struct doca_flow_pipe *pipe, struct entries_status *status)
 
static doca_error_t create_fragmented_pipe (struct doca_flow_port *port, struct doca_flow_pipe **pipe)
 
static doca_error_t add_fragmented_pipe_entries (struct doca_flow_pipe *frag_pipe, struct doca_flow_pipe *ok_pipe, int port_id, struct entries_status *status)
 
doca_error_t flow_parser_meta (int nb_queues)
 

Function Documentation

◆ add_fragmented_pipe_entries()

static doca_error_t add_fragmented_pipe_entries ( struct doca_flow_pipe *  frag_pipe,
struct doca_flow_pipe *  ok_pipe,
int  port_id,
struct entries_status status 
)
static

Definition at line 244 of file flow_parser_meta_sample.c.

◆ add_match_parser_meta_ok_pipe_entry()

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

Definition at line 185 of file flow_parser_meta_sample.c.

◆ add_match_parser_meta_type_pipe_entries()

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

Definition at line 98 of file flow_parser_meta_sample.c.

◆ create_fragmented_pipe()

static doca_error_t create_fragmented_pipe ( struct doca_flow_port *  port,
struct doca_flow_pipe **  pipe 
)
static

Definition at line 210 of file flow_parser_meta_sample.c.

◆ create_match_parser_meta_ok_pipe()

static doca_error_t create_match_parser_meta_ok_pipe ( struct doca_flow_port *  port,
struct doca_flow_pipe *  type_pipe,
struct doca_flow_pipe **  pipe 
)
static

Definition at line 131 of file flow_parser_meta_sample.c.

◆ create_match_parser_meta_type_pipe()

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

Definition at line 44 of file flow_parser_meta_sample.c.

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( FLOW_PARSER_META  )

◆ flow_parser_meta()

doca_error_t flow_parser_meta ( int  nb_queues)

Definition at line 318 of file flow_parser_meta_sample.c.