path: root/lib/librte_pipeline/
diff options
authorJasvinder Singh <>2016-03-08 18:07:49 +0000
committerThomas Monjalon <>2016-03-10 01:29:42 +0100
commit4c387fcdf7776d3bb9f47789580a57bd18d4dbf3 (patch)
tree912d8dae2454c1121688d0d900622f66e14bbad9 /lib/librte_pipeline/
parent88ac2fd99fa06419c5b95ad662dc1e618bd8ac49 (diff)
pipeline: add new functions for action handlers
Two new pipeline API functions have been added to the library. The packet hijack API function can be called by any input/output port or table action handler to remove selected packets from the burst of packets read from one of the pipeline input ports and then either send these packets out through any pipeline output port or drop them. Another packet drop API function can be used by the pipeline action handlers (port in/out, table) to drop the packets selected using packet mask. This function updates the drop statistics counters correctly. Signed-off-by: Jasvinder Singh <> Acked-by: Cristian Dumitrescu <>
Diffstat (limited to 'lib/librte_pipeline/')
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/librte_pipeline/ b/lib/librte_pipeline/
index 4cc86f6..e4ee154 100644
--- a/lib/librte_pipeline/
+++ b/lib/librte_pipeline/
@@ -37,3 +37,11 @@ DPDK_2.2 {
} DPDK_2.1;
+DPDK_16.04 {
+ global:
+ rte_pipeline_ah_packet_hijack;
+ rte_pipeline_ah_packet_drop;
+} DPDK_2.2;