numam-spdk/lib/env_dpdk/spdk_env_dpdk.map
Changpeng Liu c0bf93145a env/memory: return the memory virtual address's file descriptor and offset
For virtio-user library and coming vfio-user feature, the client needs
to send the memory file descriptors to target so that the two processes
can setup shared memory region to do data processing without memory copy.
Currently virtio-user will read /proc/self/maps to get memory file descriptor,
since DPDK already provides this such APIs, so here we can just use it,
for existing virtio-user library we may replace it with the new added
API.

Change-Id: Icfeae465d53826d0c8d1b335287634b03cd174aa
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4428
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-10-21 20:47:01 +00:00

116 lines
2.6 KiB
Plaintext

{
global:
# Public functions in env.h
spdk_malloc;
spdk_zmalloc;
spdk_realloc;
spdk_free;
spdk_env_opts_init;
spdk_env_init;
spdk_env_fini;
spdk_dma_malloc;
spdk_dma_malloc_socket;
spdk_dma_zmalloc;
spdk_dma_zmalloc_socket;
spdk_dma_realloc;
spdk_dma_free;
spdk_memzone_reserve;
spdk_memzone_reserve_aligned;
spdk_memzone_lookup;
spdk_memzone_free;
spdk_memzone_dump;
spdk_mempool_create;
spdk_mempool_create_ctor;
spdk_mempool_get_name;
spdk_mempool_free;
spdk_mempool_get;
spdk_mempool_get_bulk;
spdk_mempool_put;
spdk_mempool_put_bulk;
spdk_mempool_count;
spdk_mempool_obj_iter;
spdk_mempool_lookup;
spdk_env_get_core_count;
spdk_env_get_current_core;
spdk_env_get_first_core;
spdk_env_get_last_core;
spdk_env_get_next_core;
spdk_env_get_socket_id;
spdk_env_thread_launch_pinned;
spdk_env_thread_wait_all;
spdk_process_is_primary;
spdk_get_ticks;
spdk_get_ticks_hz;
spdk_delay_us;
spdk_pause;
spdk_ring_create;
spdk_ring_free;
spdk_ring_count;
spdk_ring_enqueue;
spdk_ring_dequeue;
spdk_iommu_is_enabled;
spdk_vtophys;
spdk_pci_get_driver;
spdk_pci_driver_register;
spdk_pci_nvme_get_driver;
spdk_pci_vmd_get_driver;
spdk_pci_idxd_get_driver;
spdk_pci_ioat_get_driver;
spdk_pci_virtio_get_driver;
spdk_pci_enumerate;
spdk_pci_get_first_device;
spdk_pci_get_next_device;
spdk_pci_device_map_bar;
spdk_pci_device_unmap_bar;
spdk_pci_device_get_domain;
spdk_pci_device_get_bus;
spdk_pci_device_get_dev;
spdk_pci_device_get_func;
spdk_pci_device_get_addr;
spdk_pci_device_get_vendor_id;
spdk_pci_device_get_device_id;
spdk_pci_device_get_subvendor_id;
spdk_pci_device_get_subdevice_id;
spdk_pci_device_get_id;
spdk_pci_device_get_socket_id;
spdk_pci_device_get_serial_number;
spdk_pci_device_claim;
spdk_pci_device_unclaim;
spdk_pci_device_detach;
spdk_pci_device_attach;
spdk_pci_device_cfg_read;
spdk_pci_device_cfg_write;
spdk_pci_device_cfg_read8;
spdk_pci_device_cfg_write8;
spdk_pci_device_cfg_read16;
spdk_pci_device_cfg_write16;
spdk_pci_device_cfg_read32;
spdk_pci_device_cfg_write32;
spdk_pci_device_is_removed;
spdk_pci_addr_compare;
spdk_pci_addr_parse;
spdk_pci_addr_fmt;
spdk_pci_hook_device;
spdk_pci_unhook_device;
spdk_pci_device_get_type;
spdk_unaffinitize_thread;
spdk_call_unaffinitized;
spdk_mem_map_alloc;
spdk_mem_map_free;
spdk_mem_map_set_translation;
spdk_mem_map_clear_translation;
spdk_mem_map_translate;
spdk_mem_register;
spdk_mem_unregister;
spdk_mem_get_fd_and_offset;
# Public functions in env_dpdk.h
spdk_env_dpdk_post_init;
spdk_env_dpdk_post_fini;
spdk_env_dpdk_external_init;
spdk_env_dpdk_dump_mem_stats;
local: *;
};