Add functions to support l2 tunnel configuration and operations. 1, L2 tunnel ether type modification. It means modifying the ether type of a specific type of tunnel. So the packet with this ether type will be parsed as this type of tunnel. 2, Enabling/disabling l2 tunnel support. It means enabling/disabling the ability of parsing the specific type of tunnel. This ability should be enabled before we enable filtering, forwarding, offloading for this specific type of tunnel. 3, Insertion and stripping for l2 tunnel tag. 4, Forwarding the packets to a pool based on l2 tunnel tag. Only support e-tag tunnel now. Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Shaopeng He <shaopeng.he@intel.com> Acked-by: Jingjing Wu <jingjing.wu@intel.com> Tested-by: Yong Liu <yong.liu@intel.com>
133 lines
3.4 KiB
Plaintext
133 lines
3.4 KiB
Plaintext
DPDK_2.2 {
|
|
global:
|
|
|
|
_rte_eth_dev_callback_process;
|
|
rte_eth_add_rx_callback;
|
|
rte_eth_add_tx_callback;
|
|
rte_eth_allmulticast_disable;
|
|
rte_eth_allmulticast_enable;
|
|
rte_eth_allmulticast_get;
|
|
rte_eth_copy_pci_info;
|
|
rte_eth_dev_allocate;
|
|
rte_eth_dev_allocated;
|
|
rte_eth_dev_attach;
|
|
rte_eth_dev_bypass_event_show;
|
|
rte_eth_dev_bypass_event_store;
|
|
rte_eth_dev_bypass_init;
|
|
rte_eth_dev_bypass_state_set;
|
|
rte_eth_dev_bypass_state_show;
|
|
rte_eth_dev_bypass_ver_show;
|
|
rte_eth_dev_bypass_wd_reset;
|
|
rte_eth_dev_bypass_wd_timeout_show;
|
|
rte_eth_dev_callback_process;
|
|
rte_eth_dev_callback_register;
|
|
rte_eth_dev_callback_unregister;
|
|
rte_eth_dev_close;
|
|
rte_eth_dev_configure;
|
|
rte_eth_dev_count;
|
|
rte_eth_dev_default_mac_addr_set;
|
|
rte_eth_dev_detach;
|
|
rte_eth_dev_filter_ctrl;
|
|
rte_eth_dev_filter_supported;
|
|
rte_eth_dev_flow_ctrl_get;
|
|
rte_eth_dev_flow_ctrl_set;
|
|
rte_eth_dev_get_dcb_info;
|
|
rte_eth_dev_get_eeprom;
|
|
rte_eth_dev_get_eeprom_length;
|
|
rte_eth_dev_get_mtu;
|
|
rte_eth_dev_get_reg_info;
|
|
rte_eth_dev_get_reg_length;
|
|
rte_eth_dev_get_vlan_offload;
|
|
rte_eth_devices;
|
|
rte_eth_dev_info_get;
|
|
rte_eth_dev_is_valid_port;
|
|
rte_eth_dev_mac_addr_add;
|
|
rte_eth_dev_mac_addr_remove;
|
|
rte_eth_dev_priority_flow_ctrl_set;
|
|
rte_eth_dev_release_port;
|
|
rte_eth_dev_rss_hash_conf_get;
|
|
rte_eth_dev_rss_hash_update;
|
|
rte_eth_dev_rss_reta_query;
|
|
rte_eth_dev_rss_reta_update;
|
|
rte_eth_dev_rx_intr_ctl;
|
|
rte_eth_dev_rx_intr_ctl_q;
|
|
rte_eth_dev_rx_intr_disable;
|
|
rte_eth_dev_rx_intr_enable;
|
|
rte_eth_dev_rx_queue_start;
|
|
rte_eth_dev_rx_queue_stop;
|
|
rte_eth_dev_set_eeprom;
|
|
rte_eth_dev_set_link_down;
|
|
rte_eth_dev_set_link_up;
|
|
rte_eth_dev_set_mc_addr_list;
|
|
rte_eth_dev_set_mtu;
|
|
rte_eth_dev_set_rx_queue_stats_mapping;
|
|
rte_eth_dev_set_tx_queue_stats_mapping;
|
|
rte_eth_dev_set_vf_rx;
|
|
rte_eth_dev_set_vf_rxmode;
|
|
rte_eth_dev_set_vf_tx;
|
|
rte_eth_dev_set_vf_vlan_filter;
|
|
rte_eth_dev_set_vlan_ether_type;
|
|
rte_eth_dev_set_vlan_offload;
|
|
rte_eth_dev_set_vlan_pvid;
|
|
rte_eth_dev_set_vlan_strip_on_queue;
|
|
rte_eth_dev_socket_id;
|
|
rte_eth_dev_start;
|
|
rte_eth_dev_stop;
|
|
rte_eth_dev_tx_queue_start;
|
|
rte_eth_dev_tx_queue_stop;
|
|
rte_eth_dev_uc_all_hash_table_set;
|
|
rte_eth_dev_uc_hash_table_set;
|
|
rte_eth_dev_udp_tunnel_add;
|
|
rte_eth_dev_udp_tunnel_delete;
|
|
rte_eth_dev_vlan_filter;
|
|
rte_eth_dev_wd_timeout_store;
|
|
rte_eth_dma_zone_reserve;
|
|
rte_eth_driver_register;
|
|
rte_eth_led_off;
|
|
rte_eth_led_on;
|
|
rte_eth_link;
|
|
rte_eth_link_get;
|
|
rte_eth_link_get_nowait;
|
|
rte_eth_macaddr_get;
|
|
rte_eth_mirror_rule_reset;
|
|
rte_eth_mirror_rule_set;
|
|
rte_eth_promiscuous_disable;
|
|
rte_eth_promiscuous_enable;
|
|
rte_eth_promiscuous_get;
|
|
rte_eth_remove_rx_callback;
|
|
rte_eth_remove_tx_callback;
|
|
rte_eth_rx_queue_info_get;
|
|
rte_eth_rx_queue_setup;
|
|
rte_eth_set_queue_rate_limit;
|
|
rte_eth_set_vf_rate_limit;
|
|
rte_eth_stats;
|
|
rte_eth_stats_get;
|
|
rte_eth_stats_reset;
|
|
rte_eth_timesync_adjust_time;
|
|
rte_eth_timesync_disable;
|
|
rte_eth_timesync_enable;
|
|
rte_eth_timesync_read_rx_timestamp;
|
|
rte_eth_timesync_read_time;
|
|
rte_eth_timesync_read_tx_timestamp;
|
|
rte_eth_timesync_write_time;
|
|
rte_eth_tx_queue_info_get;
|
|
rte_eth_tx_queue_setup;
|
|
rte_eth_xstats_get;
|
|
rte_eth_xstats_reset;
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_16.04 {
|
|
global:
|
|
|
|
rte_eth_dev_l2_tunnel_eth_type_conf;
|
|
rte_eth_dev_l2_tunnel_offload_set;
|
|
rte_eth_dev_set_vlan_ether_type;
|
|
rte_eth_tx_buffer_count_callback;
|
|
rte_eth_tx_buffer_drop_callback;
|
|
rte_eth_tx_buffer_init;
|
|
rte_eth_tx_buffer_set_err_callback;
|
|
|
|
} DPDK_2.2;
|