4c387fcdf7
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>
48 lines
858 B
Plaintext
48 lines
858 B
Plaintext
DPDK_2.0 {
|
|
global:
|
|
|
|
rte_pipeline_check;
|
|
rte_pipeline_create;
|
|
rte_pipeline_flush;
|
|
rte_pipeline_free;
|
|
rte_pipeline_port_in_connect_to_table;
|
|
rte_pipeline_port_in_create;
|
|
rte_pipeline_port_in_disable;
|
|
rte_pipeline_port_in_enable;
|
|
rte_pipeline_port_out_create;
|
|
rte_pipeline_port_out_packet_insert;
|
|
rte_pipeline_run;
|
|
rte_pipeline_table_create;
|
|
rte_pipeline_table_default_entry_add;
|
|
rte_pipeline_table_default_entry_delete;
|
|
rte_pipeline_table_entry_add;
|
|
rte_pipeline_table_entry_delete;
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_2.1 {
|
|
global:
|
|
|
|
rte_pipeline_port_in_stats_read;
|
|
rte_pipeline_port_out_stats_read;
|
|
rte_pipeline_table_stats_read;
|
|
|
|
} DPDK_2.0;
|
|
|
|
DPDK_2.2 {
|
|
global:
|
|
|
|
rte_pipeline_table_entry_add_bulk;
|
|
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;
|