common/mlx5: add Windows exports file

File drivers/common/mlx5/rte_common_mlx5_exports.def contains mlx5
Windows exported symbols under common/mlx5 directory (DLL file
name librte_common_mlx5*.dll). It is the equivalent of Linux map
file version.map but the list of symbols may be
different between the two operating systems.

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
This commit is contained in:
Tal Shnaiderman 2020-12-28 11:54:20 +02:00 committed by Ferruh Yigit
parent 981746264e
commit e253c33dee
2 changed files with 64 additions and 0 deletions

View File

@ -38,6 +38,9 @@ fi
find_orphan_windows_symbols ()
{
for def in $(find lib drivers -name '*_exports.def') ; do
if echo $def | grep -q 'common_mlx5' ; then
continue # mlx5 exports different symbols per OS
fi
map=$(dirname $def)/version.map
for sym in $(grep -v ^EXPORTS $def); do
grep -q $sym $map || echo $sym

View File

@ -0,0 +1,61 @@
EXPORTS
haswell_broadwell_cpu
mlx5_common_init
mlx5_create_mr_ext
mlx5_devx_cmd_create_cq
mlx5_devx_cmd_create_flex_parser
mlx5_devx_cmd_create_qp
mlx5_devx_cmd_create_rq
mlx5_devx_cmd_create_rqt
mlx5_devx_cmd_create_sq
mlx5_devx_cmd_create_tir
mlx5_devx_cmd_create_td
mlx5_devx_cmd_create_tis
mlx5_devx_cmd_create_virtq
mlx5_devx_cmd_destroy
mlx5_devx_cmd_flow_counter_alloc
mlx5_devx_cmd_flow_counter_query
mlx5_devx_cmd_flow_dump
mlx5_devx_cmd_mkey_create
mlx5_devx_cmd_modify_qp_state
mlx5_devx_cmd_modify_rq
mlx5_devx_cmd_modify_rqt
mlx5_devx_cmd_modify_sq
mlx5_devx_cmd_modify_tir
mlx5_devx_cmd_modify_virtq
mlx5_devx_cmd_qp_query_tis_td
mlx5_devx_cmd_query_hca_attr
mlx5_devx_cmd_query_parse_samples
mlx5_devx_cmd_query_virtq
mlx5_devx_cmd_register_read
mlx5_devx_get_out_command_status
mlx5_devx_cmd_create_flow_hit_aso_obj
mlx5_get_dbr
mlx5_malloc_mem_select
mlx5_mr_btree_init
mlx5_mr_btree_free
mlx5_mr_btree_dump
mlx5_mr_addr2mr_bh
mlx5_mr_release_cache
mlx5_mr_dump_cache
mlx5_mr_rebuild_cache
mlx5_mr_insert_cache
mlx5_mr_lookup_cache
mlx5_mr_lookup_list
mlx5_mr_create_primary
mlx5_mr_flush_local_cache
mlx5_mp_req_queue_state_modify
mlx5_mr_free
mlx5_pci_driver_register
mlx5_release_dbr
mlx5_malloc
mlx5_realloc
mlx5_free