DPDK  17.05.2
Data Fields
rte_pipeline_table_params Struct Reference

#include <rte_pipeline.h>

Data Fields

struct rte_table_opsops
void * arg_create
rte_pipeline_table_action_handler_hit f_action_hit
rte_pipeline_table_action_handler_miss f_action_miss
void * arg_ah
uint32_t action_data_size

Detailed Description

Parameters for pipeline table creation. Action handlers have to be either both enabled or both disabled (they can be disabled by setting them to NULL).

Examples:
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 335 of file rte_pipeline.h.

Field Documentation

struct rte_table_ops* ops
void* arg_create
Opaque param to be passed to the table create operation when

invoked

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

Definition at line 340 of file rte_pipeline.h.

Callback function to execute the user actions on input packets in

case of lookup hit

Definition at line 343 of file rte_pipeline.h.

Callback function to execute the user actions on input packets in

case of lookup miss

Definition at line 346 of file rte_pipeline.h.

void* arg_ah
Opaque parameter to be passed to lookup hit and/or lookup miss

action handlers when invoked

Definition at line 350 of file rte_pipeline.h.

uint32_t action_data_size
Memory size to be reserved per table entry for storing the user

actions and their meta-data

Definition at line 353 of file rte_pipeline.h.


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