62e94f7f66
The patch adds 4 APIs to support configurable PTYPE mapping for i40e device. rte_pmd_i40e_ptype_mapping_get. rte_pmd_i40e_ptype_mapping_replace. rte_pmd_i40e_ptype_mapping_reset. rte_pmd_i40e_ptype_mapping_update. The mapping from hardware defined packet type to software defined packet type can be updated/reset/read out with these APIs. Also a software ptype with the most significent bit set will be regarded as a user defined ptype (RTE_PMD_I40E_PTYPE_USER_DEFINE_MASK) so application can use it to defined its own PTYPE naming system. Signed-off-by: Qi Zhang <qi.z.zhang@intel.com> Acked-by: Jianbo Liu <jianbo.liu@linaro.org> Acked-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
41 lines
897 B
Plaintext
41 lines
897 B
Plaintext
DPDK_2.0 {
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_17.02 {
|
|
global:
|
|
|
|
rte_pmd_i40e_get_vf_stats;
|
|
rte_pmd_i40e_ping_vfs;
|
|
rte_pmd_i40e_ptype_mapping_get;
|
|
rte_pmd_i40e_ptype_mapping_replace;
|
|
rte_pmd_i40e_ptype_mapping_reset;
|
|
rte_pmd_i40e_ptype_mapping_update;
|
|
rte_pmd_i40e_reset_vf_stats;
|
|
rte_pmd_i40e_set_tx_loopback;
|
|
rte_pmd_i40e_set_vf_broadcast;
|
|
rte_pmd_i40e_set_vf_mac_addr;
|
|
rte_pmd_i40e_set_vf_mac_anti_spoof;
|
|
rte_pmd_i40e_set_vf_multicast_promisc;
|
|
rte_pmd_i40e_set_vf_unicast_promisc;
|
|
rte_pmd_i40e_set_vf_vlan_anti_spoof;
|
|
rte_pmd_i40e_set_vf_vlan_filter;
|
|
rte_pmd_i40e_set_vf_vlan_insert;
|
|
rte_pmd_i40e_set_vf_vlan_stripq;
|
|
rte_pmd_i40e_set_vf_vlan_tag;
|
|
|
|
} DPDK_2.0;
|
|
|
|
DPDK_17.05 {
|
|
global:
|
|
|
|
rte_pmd_i40e_set_tc_strict_prio;
|
|
rte_pmd_i40e_set_vf_max_bw;
|
|
rte_pmd_i40e_set_vf_tc_bw_alloc;
|
|
rte_pmd_i40e_set_vf_tc_max_bw;
|
|
rte_pmd_i40e_process_ddp_package;
|
|
rte_pmd_i40e_get_ddp_list;
|
|
|
|
} DPDK_17.02;
|