common/mlx5: share common definitions
authorMichael Baum <michaelba@nvidia.com>
Tue, 19 Oct 2021 20:55:47 +0000 (23:55 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 21 Oct 2021 13:39:01 +0000 (15:39 +0200)
commita77bedf2556fb7e7578be237ba6e059fda863228
treecd48a481cccdbb898a34b47a5d02f6954d2fe309
parent7af08c8f1a86a5f352a8f635d7ba75bb8713f683
common/mlx5: share common definitions

Create MACRO definitions file in the common driver as preparation for MR
and basic probe sharing.
Move relevant definitions from the net driver to the above file.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_common.c
drivers/common/mlx5/mlx5_common_defs.h [new file with mode: 0644]
drivers/common/mlx5/mlx5_common_mr.h
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_defs.h