Commit 229ef16b authored by Seth Howell's avatar Seth Howell Committed by Tomasz Zawadzki
Browse files

lib/env_dpdk: add map file and rev so major version.



There were 9 function symbols removed from the global list
of the library. They were all symbols declared in env_internal.h

Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Change-Id: I23210f27dc2bf23ae9e9cf76babb54e623fbc917
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1708


Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 8671edd9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk

SO_VER := 2
SO_VER := 3
SO_MINOR := 0
SO_SUFFIX := $(SO_VER).$(SO_MINOR)

@@ -43,4 +43,6 @@ C_SRCS = env.c memory.c pci.c init.c threads.c
C_SRCS += pci_nvme.c pci_ioat.c pci_virtio.c pci_vmd.c
LIBNAME = env_dpdk

SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_env_dpdk.map)

include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
+111 −0
Original line number Diff line number Diff line
{
	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_nvme_get_driver;
	spdk_pci_vmd_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;

	# 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: *;
};
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@
#include "spdk/stdinc.h"

#include "CUnit/Basic.h"
#include "spdk_internal/mock.h"

#include "env_dpdk/pci.c"