summaryrefslogtreecommitdiff
path: root/lib/librte_pipeline/rte_pipeline_version.map
diff options
context:
space:
mode:
authorJasvinder Singh <jasvinder.singh@intel.com>2016-03-08 18:07:49 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-10 01:29:42 +0100
commit4c387fcdf7776d3bb9f47789580a57bd18d4dbf3 (patch)
tree912d8dae2454c1121688d0d900622f66e14bbad9 /lib/librte_pipeline/rte_pipeline_version.map
parent88ac2fd99fa06419c5b95ad662dc1e618bd8ac49 (diff)
downloaddpdk-4c387fcdf7776d3bb9f47789580a57bd18d4dbf3.zip
dpdk-4c387fcdf7776d3bb9f47789580a57bd18d4dbf3.tar.gz
dpdk-4c387fcdf7776d3bb9f47789580a57bd18d4dbf3.tar.xz
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 <jasvinder.singh@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Diffstat (limited to 'lib/librte_pipeline/rte_pipeline_version.map')
-rw-r--r--lib/librte_pipeline/rte_pipeline_version.map8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/librte_pipeline/rte_pipeline_version.map b/lib/librte_pipeline/rte_pipeline_version.map
index 4cc86f6..e4ee154 100644
--- a/lib/librte_pipeline/rte_pipeline_version.map
+++ b/lib/librte_pipeline/rte_pipeline_version.map
@@ -37,3 +37,11 @@ DPDK_2.2 {
rte_pipeline_table_entry_delete_bulk;
} DPDK_2.1;
+
+DPDK_16.04 {
+ global:
+
+ rte_pipeline_ah_packet_hijack;
+ rte_pipeline_ah_packet_drop;
+
+} DPDK_2.2;