path: root/lib/librte_pipeline/
diff options
authorJasvinder Singh <>2018-03-29 19:31:20 +0100
committerCristian Dumitrescu <>2018-04-04 12:21:11 +0200
commit654dd411125475a15a91769aa12bd39667838dde (patch)
tree636f4fec56980ba4ad8bf24406ff1365fded4f54 /lib/librte_pipeline/
parent78f5a2e93d746110d1da1a81a62cf6149c52e6ef (diff)
pipeline: add table action APIs
This API provides a common set of actions for pipeline tables to speed up application development. Each match-action rule added to a pipeline table has associated data that stores the action context. This data is input to the table action handler called for every input packet that hits the rule as part of the table lookup during the pipeline execution. The pipeline library allows the user to define his own table actions by providing customized table action handlers (table lookup) and complete freedom of setting the rules and their data (table rule add/delete). While the user can still follow this process, this API is intended to provide a quicker development alternative for a set of predefined actions. The typical steps to use this API are: * Define a table action profile. * Instantiate the table action profile to create table action objects. * Use the table action object to generate the pipeline table action handlers (invoked by the pipeline table lookup operation). * Use the table action object to generate the rule data (for the pipeline table rule add operation) based on given action parameters. * Use the table action object to read action data (e.g. stats counters) for any given rule. Signed-off-by: Cristian Dumitrescu <>
Diffstat (limited to 'lib/librte_pipeline/')
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/librte_pipeline/ b/lib/librte_pipeline/
index e4ee154..4bc414c 100644
--- a/lib/librte_pipeline/
+++ b/lib/librte_pipeline/
@@ -45,3 +45,16 @@ DPDK_16.04 {
} DPDK_2.2;
+ global:
+ rte_table_action_apply;
+ rte_table_action_create;
+ rte_table_action_free;
+ rte_table_action_profile_action_register;
+ rte_table_action_profile_create;
+ rte_table_action_profile_free;
+ rte_table_action_profile_freeze;
+} DPDK_16.04;