DPDK  16.04.0
Data Fields
rte_pipeline_table_entry Struct Reference

#include <rte_pipeline.h>

Data Fields

enum rte_pipeline_action action
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:
ip_pipeline/pipeline/pipeline_firewall.c, ip_pipeline/pipeline/pipeline_firewall_be.c, ip_pipeline/pipeline/pipeline_flow_actions_be.c, ip_pipeline/pipeline/pipeline_flow_classification_be.c, ip_pipeline/pipeline/pipeline_passthrough_be.c, and ip_pipeline/pipeline/pipeline_routing_be.c.

Definition at line 243 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:
ip_pipeline/pipeline/pipeline_routing_be.c.

Definition at line 250 of file rte_pipeline.h.

uint32_t table_id

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

Definition at line 252 of file rte_pipeline.h.

uint8_t action_data[0]

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

Definition at line 255 of file rte_pipeline.h.


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