DPDK  21.02.0
Data Fields
rte_swx_pipeline_table_params Struct Reference

#include <rte_swx_pipeline.h>

Data Fields

struct rte_swx_match_field_paramsfields
 
uint32_t n_fields
 
const char ** action_names
 
uint32_t n_actions
 
const char * default_action_name
 
uint8_t * default_action_data
 
int default_action_is_const
 

Detailed Description

Pipeline table parameters.

Definition at line 543 of file rte_swx_pipeline.h.

Field Documentation

The set of match fields for the current table. Restriction: All the match fields of the current table need to be part of the same struct, i.e. either all the match fields are part of the same header or all the match fields are part of the meta-data.

Definition at line 549 of file rte_swx_pipeline.h.

uint32_t n_fields

The number of match fields for the current table. If set to zero, no "regular" entries (i.e. entries other than the default entry) can be added to the current table and the match process always results in lookup miss.

Definition at line 556 of file rte_swx_pipeline.h.

const char** action_names

The set of actions for the current table.

Definition at line 559 of file rte_swx_pipeline.h.

uint32_t n_actions

The number of actions for the current table. Must be at least one.

Definition at line 563 of file rte_swx_pipeline.h.

const char* default_action_name

The default table action that gets executed on lookup miss. Must be one of the table actions included in the action_names.

Definition at line 568 of file rte_swx_pipeline.h.

uint8_t* default_action_data

Default action data. The size of this array is the action data size of the default action. Must be NULL if the default action data size is zero.

Definition at line 574 of file rte_swx_pipeline.h.

int default_action_is_const

If non-zero (true), then the default action of the current table cannot be changed. If zero (false), then the default action can be changed in the future with another action from the action_names list.

Definition at line 581 of file rte_swx_pipeline.h.


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