DPDK 25.03.0-rc0
Data Fields
rte_pipeline_table_entry Struct Reference

#include <rte_pipeline.h>

Data Fields

enum rte_pipeline_action action
 
uint8_t action_data []
 
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 211 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 213 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 218 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 220 of file rte_pipeline.h.

◆ action_data

uint8_t action_data[]

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

Definition at line 223 of file rte_pipeline.h.


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