NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
upf_accel_flow_processing.h File Reference
#include <assert.h>
#include <rte_hash.h>
#include <rte_mbuf.h>
#include "upf_accel.h"
Include dependency graph for upf_accel_flow_processing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  upf_accel_packet_byte_counter
 
struct  upf_accel_fp_sw_counters
 
struct  upf_accel_fp_accel_counters
 
struct  upf_accel_fp_data
 

Macros

#define UPF_ACCEL_SW_AGING_LL_INVALID_NODE   (-1)
 

Functions

struct upf_accel_fp_data __rte_aligned (RTE_CACHE_LINE_SIZE)
 
void upf_accel_check_for_valid_entry_aging (struct doca_flow_pipe_entry *entry, uint16_t pipe_queue, enum doca_flow_entry_status status, enum doca_flow_entry_op op, void *user_ctx)
 
void upf_accel_fp_loop (struct upf_accel_fp_data *fp_data)
 

Variables

struct upf_accel_ctxctx
 
uint16_t queue_id
 
struct rte_hash * dyn_tbl
 
struct upf_accel_entry_ctxdyn_tbl_data
 
struct upf_accel_fp_sw_counters sw_counters
 
struct app_shared_counter_ids quota_cntrs
 
struct upf_accel_fp_accel_counters accel_counters [PARSER_PKT_TYPE_NUM]
 
struct upf_accel_fp_accel_counters unaccel_counters [PARSER_PKT_TYPE_NUM]
 
struct upf_accel_fp_accel_counters accel_failed_counters [PARSER_PKT_TYPE_NUM]
 
struct upf_accel_sw_aging_ll sw_aging_ll [PARSER_PKT_TYPE_NUM]
 
uint64_t last_hw_aging_tsc [UPF_ACCEL_PORTS_MAX]
 
bool hw_aging_in_progress [UPF_ACCEL_PORTS_MAX]
 

Macro Definition Documentation

◆ UPF_ACCEL_SW_AGING_LL_INVALID_NODE

#define UPF_ACCEL_SW_AGING_LL_INVALID_NODE   (-1)

Definition at line 36 of file upf_accel_flow_processing.h.

Function Documentation

◆ __rte_aligned()

struct upf_accel_fp_data __rte_aligned ( RTE_CACHE_LINE_SIZE  )

◆ upf_accel_check_for_valid_entry_aging()

void upf_accel_check_for_valid_entry_aging ( struct doca_flow_pipe_entry *  entry,
uint16_t  pipe_queue,
enum doca_flow_entry_status  status,
enum doca_flow_entry_op  op,
void *  user_ctx 
)

Definition at line 214 of file upf_accel_flow_processing.c.

◆ upf_accel_fp_loop()

void upf_accel_fp_loop ( struct upf_accel_fp_data fp_data)

Definition at line 1440 of file upf_accel_flow_processing.c.

Variable Documentation

◆ accel_counters

Definition at line 3 of file upf_accel_flow_processing.h.

◆ accel_failed_counters

struct upf_accel_fp_accel_counters accel_failed_counters[PARSER_PKT_TYPE_NUM]

Definition at line 3 of file upf_accel_flow_processing.h.

◆ ctx

struct upf_accel_ctx* ctx

Definition at line 0 of file upf_accel_flow_processing.h.

◆ dyn_tbl

struct rte_hash* dyn_tbl

Definition at line 2 of file upf_accel_flow_processing.h.

◆ dyn_tbl_data

struct upf_accel_entry_ctx* dyn_tbl_data

Definition at line 3 of file upf_accel_flow_processing.h.

◆ hw_aging_in_progress

bool hw_aging_in_progress[UPF_ACCEL_PORTS_MAX]

Definition at line 12 of file upf_accel_flow_processing.h.

◆ last_hw_aging_tsc

uint64_t last_hw_aging_tsc[UPF_ACCEL_PORTS_MAX]

Definition at line 11 of file upf_accel_flow_processing.h.

◆ queue_id

uint16_t queue_id

Definition at line 1 of file upf_accel_flow_processing.h.

◆ quota_cntrs

struct app_shared_counter_ids quota_cntrs

Definition at line 3 of file upf_accel_flow_processing.h.

◆ sw_aging_ll

Definition at line 3 of file upf_accel_flow_processing.h.

◆ sw_counters

struct upf_accel_fp_sw_counters sw_counters

Definition at line 3 of file upf_accel_flow_processing.h.

◆ unaccel_counters

Definition at line 3 of file upf_accel_flow_processing.h.