common/mlx5: share hash list tool
authorShiri Kuzin <shirik@nvidia.com>
Tue, 4 May 2021 17:54:55 +0000 (20:54 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 May 2021 20:49:37 +0000 (22:49 +0200)
commit25245d5dc9ecfa8bc9964c69a756beca6ee1ca72
tree68dd0ded4ccef96cf53c6064fe0ba26692b0375a
parentd5ee804d04abea0ece7bdf0d691a46d7ed6adc74
common/mlx5: share hash list tool

In order to use the hash list defined in net in other drivers, the
hash list is moved to common utilities.

In addition, the log definition was moved from the common utilities to
a dedicated new log file in common in order to prevent a conflict.

Signed-off-by: Shiri Kuzin <shirik@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
18 files changed:
drivers/common/mlx5/linux/mlx5_common_os.c
drivers/common/mlx5/linux/mlx5_nl.c
drivers/common/mlx5/meson.build
drivers/common/mlx5/mlx5_common.c
drivers/common/mlx5/mlx5_common_devx.c
drivers/common/mlx5/mlx5_common_log.h [new file with mode: 0644]
drivers/common/mlx5/mlx5_common_mp.c
drivers/common/mlx5/mlx5_common_mr.c
drivers/common/mlx5/mlx5_common_pci.c
drivers/common/mlx5/mlx5_common_utils.c [new file with mode: 0644]
drivers/common/mlx5/mlx5_common_utils.h
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_malloc.c
drivers/common/mlx5/version.map
drivers/common/mlx5/windows/mlx5_common_os.c
drivers/common/mlx5/windows/mlx5_glue.c
drivers/net/mlx5/mlx5_utils.c
drivers/net/mlx5/mlx5_utils.h