DPDK 22.11.5
Data Fields
rte_pipeline_table_entry Struct Reference

#include <rte_pipeline.h>

Data Fields

enum rte_pipeline_action action
 
__extension__ uint8_t action_data [0]
 
uint32_t port_id
 
uint32_t table_id
 

Detailed Description

Head format for the table entry of any pipeline table. For any given pipeline table, all table entries should have the same size and format. For any given pipeline table, the table entry has to start with a head of this structure, which contains the reserved actions and their associated meta-data, and then optionally continues with user actions and their associated meta-data. As all the currently defined reserved actions are mutually exclusive, only one reserved action can be set per table entry.

Examples
examples/ip_pipeline/pipeline.c, and examples/ip_pipeline/thread.c.

Definition at line 215 of file rte_pipeline.h.

Field Documentation

◆ action

enum rte_pipeline_action action

Reserved action

Examples
examples/ip_pipeline/pipeline.c, and examples/ip_pipeline/thread.c.

Definition at line 217 of file rte_pipeline.h.

◆ port_id

uint32_t port_id

Output port ID (meta-data for "Send packet to output port" action)

Examples
examples/ip_pipeline/thread.c.

Definition at line 223 of file rte_pipeline.h.

◆ table_id

uint32_t table_id

Table ID (meta-data for "Send packet to table" action)

Examples
examples/ip_pipeline/pipeline.c, and examples/ip_pipeline/thread.c.

Definition at line 225 of file rte_pipeline.h.

◆ action_data

__extension__ uint8_t action_data[0]

Start of table entry area for user defined actions and meta-data

Definition at line 228 of file rte_pipeline.h.


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