* Virtual address corresponding to iova address (or NULL if address does not
* exist within DPDK memory map).
*/
-__rte_experimental
void *
rte_mem_iova2virt(rte_iova_t iova);
* @return
* Memseg pointer on success, or NULL on error.
*/
-__rte_experimental
struct rte_memseg *
rte_mem_virt2memseg(const void *virt, const struct rte_memseg_list *msl);
* @return
* Memseg list to which this virtual address belongs to.
*/
-__rte_experimental
struct rte_memseg_list *
rte_mem_virt2memseg_list(const void *virt);
* 1 if stopped by the user
* -1 if user function reported error
*/
-__rte_experimental
int
rte_memseg_walk(rte_memseg_walk_t func, void *arg);
* 1 if stopped by the user
* -1 if user function reported error
*/
-__rte_experimental
int
rte_memseg_contig_walk(rte_memseg_contig_walk_t func, void *arg);
* 1 if stopped by the user
* -1 if user function reported error
*/
-__rte_experimental
int
rte_memseg_list_walk(rte_memseg_list_walk_t func, void *arg);
* 1 if stopped by the user
* -1 if user function reported error
*/
-__rte_experimental
int
rte_memseg_walk_thread_unsafe(rte_memseg_walk_t func, void *arg);
* 1 if stopped by the user
* -1 if user function reported error
*/
-__rte_experimental
int
rte_memseg_contig_walk_thread_unsafe(rte_memseg_contig_walk_t func, void *arg);
* 1 if stopped by the user
* -1 if user function reported error
*/
-__rte_experimental
int
rte_memseg_list_walk_thread_unsafe(rte_memseg_list_walk_t func, void *arg);
* - ENOENT - ``ms`` is an unused segment
* - ENOTSUP - segment fd's are not supported
*/
-__rte_experimental
int
rte_memseg_get_fd(const struct rte_memseg *ms);
* - ENOENT - ``ms`` is an unused segment
* - ENOTSUP - segment fd's are not supported
*/
-__rte_experimental
int
rte_memseg_get_fd_thread_unsafe(const struct rte_memseg *ms);
* - ENOENT - ``ms`` is an unused segment
* - ENOTSUP - segment fd's are not supported
*/
-__rte_experimental
int
rte_memseg_get_fd_offset(const struct rte_memseg *ms, size_t *offset);
* - ENOENT - ``ms`` is an unused segment
* - ENOTSUP - segment fd's are not supported
*/
-__rte_experimental
int
rte_memseg_get_fd_offset_thread_unsafe(const struct rte_memseg *ms,
size_t *offset);
* -1 on unsuccessful callback register, with rte_errno value indicating
* reason for failure.
*/
-__rte_experimental
int
rte_mem_event_callback_register(const char *name, rte_mem_event_callback_t clb,
void *arg);
* -1 on unsuccessful callback unregister, with rte_errno value indicating
* reason for failure.
*/
-__rte_experimental
int
rte_mem_event_callback_unregister(const char *name, void *arg);
* -1 on unsuccessful callback register, with rte_errno value indicating
* reason for failure.
*/
-__rte_experimental
int
rte_mem_alloc_validator_register(const char *name,
rte_mem_alloc_validator_t clb, int socket_id, size_t limit);
* -1 on unsuccessful callback unregister, with rte_errno value indicating
* reason for failure.
*/
-__rte_experimental
int
rte_mem_alloc_validator_unregister(const char *name, int socket_id);
rte_mcfg_tailq_read_unlock;
rte_mcfg_tailq_write_lock;
rte_mcfg_tailq_write_unlock;
+ rte_mem_alloc_validator_register;
+ rte_mem_alloc_validator_unregister;
+ rte_mem_event_callback_register;
+ rte_mem_event_callback_unregister;
+ rte_mem_iova2virt;
rte_mem_lock_page;
rte_mem_virt2iova;
+ rte_mem_virt2memseg;
+ rte_mem_virt2memseg_list;
rte_mem_virt2phy;
rte_memdump;
rte_memory_get_nchannel;
rte_memory_get_nrank;
+ rte_memseg_contig_walk;
+ rte_memseg_contig_walk_thread_unsafe;
+ rte_memseg_get_fd;
+ rte_memseg_get_fd_offset;
+ rte_memseg_get_fd_offset_thread_unsafe;
+ rte_memseg_get_fd_thread_unsafe;
+ rte_memseg_list_walk;
+ rte_memseg_list_walk_thread_unsafe;
+ rte_memseg_walk;
+ rte_memseg_walk_thread_unsafe;
rte_memzone_dump;
rte_memzone_free;
rte_memzone_lookup;
rte_dev_event_monitor_start; # WINDOWS_NO_EXPORT
rte_dev_event_monitor_stop; # WINDOWS_NO_EXPORT
rte_log_register_type_and_pick_level;
- rte_mem_alloc_validator_register;
- rte_mem_alloc_validator_unregister;
rte_mem_check_dma_mask;
- rte_mem_event_callback_register;
- rte_mem_event_callback_unregister;
- rte_mem_iova2virt;
- rte_mem_virt2memseg;
- rte_mem_virt2memseg_list;
- rte_memseg_contig_walk;
- rte_memseg_list_walk;
- rte_memseg_walk;
# added in 18.08
rte_class_find;
rte_class_unregister;
rte_dev_iterator_init;
rte_dev_iterator_next;
- rte_memseg_contig_walk_thread_unsafe;
- rte_memseg_list_walk_thread_unsafe;
- rte_memseg_walk_thread_unsafe;
# added in 18.11
rte_delay_us_sleep;
rte_dev_hotplug_handle_enable; # WINDOWS_NO_EXPORT
rte_mem_check_dma_mask_thread_unsafe;
rte_mem_set_dma_mask;
- rte_memseg_get_fd;
- rte_memseg_get_fd_offset;
- rte_memseg_get_fd_offset_thread_unsafe;
- rte_memseg_get_fd_thread_unsafe;
# added in 19.02
rte_extmem_attach;