4958ca3a44
Many features require to store data inside the mbuf. As the room in mbuf structure is limited, it is not possible to have a field for each feature. Also, changing fields in the mbuf structure can break the API or ABI. This commit addresses these issues, by enabling the dynamic registration of fields or flags: - a dynamic field is a named area in the rte_mbuf structure, with a given size (>= 1 byte) and alignment constraint. - a dynamic flag is a named bit in the rte_mbuf structure. The typical use case is a PMD that registers space for an offload feature, when the application requests to enable this feature. As the space in mbuf is limited, the space should only be reserved if it is going to be used (i.e when the application explicitly asks for it). The registration can be done at any moment, but it is not possible to unregister fields or flags. Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
72 lines
1.1 KiB
Plaintext
72 lines
1.1 KiB
Plaintext
DPDK_2.0 {
|
|
global:
|
|
|
|
rte_get_rx_ol_flag_name;
|
|
rte_get_tx_ol_flag_name;
|
|
rte_mbuf_sanity_check;
|
|
rte_pktmbuf_dump;
|
|
rte_pktmbuf_init;
|
|
rte_pktmbuf_pool_init;
|
|
|
|
local: *;
|
|
};
|
|
|
|
DPDK_2.1 {
|
|
global:
|
|
|
|
rte_pktmbuf_pool_create;
|
|
|
|
} DPDK_2.0;
|
|
|
|
DPDK_16.11 {
|
|
global:
|
|
|
|
__rte_pktmbuf_read;
|
|
rte_get_ptype_inner_l2_name;
|
|
rte_get_ptype_inner_l3_name;
|
|
rte_get_ptype_inner_l4_name;
|
|
rte_get_ptype_l2_name;
|
|
rte_get_ptype_l3_name;
|
|
rte_get_ptype_l4_name;
|
|
rte_get_ptype_name;
|
|
rte_get_ptype_tunnel_name;
|
|
rte_get_rx_ol_flag_list;
|
|
rte_get_tx_ol_flag_list;
|
|
|
|
} DPDK_2.1;
|
|
|
|
DPDK_18.08 {
|
|
global:
|
|
|
|
rte_mbuf_best_mempool_ops;
|
|
rte_mbuf_platform_mempool_ops;
|
|
rte_mbuf_set_platform_mempool_ops;
|
|
rte_mbuf_set_user_mempool_ops;
|
|
rte_mbuf_user_mempool_ops;
|
|
rte_pktmbuf_pool_create_by_ops;
|
|
} DPDK_16.11;
|
|
|
|
DPDK_19.11 {
|
|
global:
|
|
|
|
__rte_pktmbuf_linearize;
|
|
rte_pktmbuf_clone;
|
|
|
|
} DPDK_18.08;
|
|
|
|
EXPERIMENTAL {
|
|
global:
|
|
|
|
rte_mbuf_check;
|
|
rte_mbuf_dynfield_lookup;
|
|
rte_mbuf_dynfield_register;
|
|
rte_mbuf_dynfield_register_offset;
|
|
rte_mbuf_dynflag_lookup;
|
|
rte_mbuf_dynflag_register;
|
|
rte_mbuf_dynflag_register_bitnum;
|
|
rte_mbuf_dyn_dump;
|
|
rte_pktmbuf_copy;
|
|
rte_pktmbuf_free_bulk;
|
|
|
|
} DPDK_18.08;
|