DPDK  20.11.3
Data Fields
rte_pipeline_table_params Struct Reference

#include <rte_pipeline.h>

Data Fields

struct rte_table_opsops
 
void * arg_create
 
rte_pipeline_table_action_handler_hit f_action_hit
 
rte_pipeline_table_action_handler_miss f_action_miss
 
void * arg_ah
 
uint32_t action_data_size
 

Detailed Description

Parameters for pipeline table creation. Action handlers have to be either both enabled or both disabled (they can be disabled by setting them to NULL).

Examples:
examples/ip_pipeline/pipeline.c.

Definition at line 306 of file rte_pipeline.h.

Field Documentation

◆ ops

struct rte_table_ops* ops

Table operations (specific to each table type)

Definition at line 308 of file rte_pipeline.h.

◆ arg_create

void* arg_create

Opaque param to be passed to the table create operation when invoked

Definition at line 311 of file rte_pipeline.h.

◆ f_action_hit

Callback function to execute the user actions on input packets in case of lookup hit

Definition at line 314 of file rte_pipeline.h.

◆ f_action_miss

Callback function to execute the user actions on input packets in case of lookup miss

Definition at line 317 of file rte_pipeline.h.

◆ arg_ah

void* arg_ah

Opaque parameter to be passed to lookup hit and/or lookup miss action handlers when invoked

Definition at line 321 of file rte_pipeline.h.

◆ action_data_size

uint32_t action_data_size

Memory size to be reserved per table entry for storing the user actions and their meta-data

Definition at line 324 of file rte_pipeline.h.


The documentation for this struct was generated from the following file: