DPDK  17.11.10
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/pipeline_firewall.c, examples/ip_pipeline/pipeline/pipeline_firewall_be.c, examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c, examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c, examples/ip_pipeline/pipeline/pipeline_passthrough_be.c, and examples/ip_pipeline/pipeline/pipeline_routing_be.c.

Definition at line 244 of file rte_pipeline.h.

Field Documentation

enum rte_pipeline_action action
uint32_t port_id

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

Examples:
examples/ip_pipeline/pipeline/pipeline_routing_be.c.

Definition at line 252 of file rte_pipeline.h.

uint32_t table_id

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

Definition at line 254 of file rte_pipeline.h.

__extension__ uint8_t action_data[0]

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

Definition at line 257 of file rte_pipeline.h.


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