vdpa/mlx5: Move some definitions to a new header file
authorEli Cohen <elic@nvidia.com>
Mon, 14 Nov 2022 13:17:57 +0000 (15:17 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 21 Feb 2023 00:26:54 +0000 (19:26 -0500)
commit72c67e9b904c29edbcb7bb010655b3958c95a309
tree56a4983e8b924607dcf2fd76d06e83859af3058f
parentb16a1756c716235891e298beabd68f3cd6bb5952
vdpa/mlx5: Move some definitions to a new header file

Move some definitions from mlx5_vnet.c to newly added header file
mlx5_vnet.h. We need these definitions for the following patches that
add debugfs tree to expose information vital for debug.

Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Eli Cohen <elic@nvidia.com>
Message-Id: <20221114131759.57883-7-elic@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/mlx5/net/mlx5_vnet.c
drivers/vdpa/mlx5/net/mlx5_vnet.h [new file with mode: 0644]