DPDK
2.0.0
|
#include <rte_pipeline.h>
Data Fields | |
enum rte_pipeline_action | action |
uint8_t | action_data [0] |
uint32_t | port_id |
uint32_t | table_id |
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.
enum rte_pipeline_action action |
Reserved action
uint8_t action_data[0] |
Start of table entry area for user defined actions and meta-data
uint32_t port_id |
Output port ID (meta-data for "Send packet to output port"
action)
uint32_t table_id |
Table ID (meta-data for "Send packet to table" action)