NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
flow_gtp_encap_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_gtp_encap_sample.c:

Go to the source code of this file.

Functions

 DOCA_LOG_REGISTER (FLOW_GTP_ENCAP)
 
static doca_error_t create_classifier_pipe (struct doca_flow_port *port, int port_id, struct entries_status *status, struct doca_flow_pipe **pipe)
 
static doca_error_t create_gtp_encap_pipe (struct doca_flow_port *port, int port_id, struct doca_flow_pipe **pipe)
 
static doca_error_t add_gtp_encap_pipe_entry (struct doca_flow_pipe *pipe, struct entries_status *status)
 
doca_error_t flow_gtp_encap (int nb_queues)
 

Function Documentation

◆ add_gtp_encap_pipe_entry()

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

Definition at line 179 of file flow_gtp_encap_sample.c.

◆ create_classifier_pipe()

static doca_error_t create_classifier_pipe ( struct doca_flow_port *  port,
int  port_id,
struct entries_status status,
struct doca_flow_pipe **  pipe 
)
static

Definition at line 46 of file flow_gtp_encap_sample.c.

◆ create_gtp_encap_pipe()

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

Definition at line 103 of file flow_gtp_encap_sample.c.

◆ DOCA_LOG_REGISTER()

DOCA_LOG_REGISTER ( FLOW_GTP_ENCAP  )

◆ flow_gtp_encap()

doca_error_t flow_gtp_encap ( int  nb_queues)

Definition at line 230 of file flow_gtp_encap_sample.c.