diff options
author | Eli Cohen <eli@mellanox.com> | 2020-07-15 07:28:33 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-07-16 08:21:29 +0300 |
commit | 2a913f23447ce7ef2a4dcaaa230ff43116cf5249 (patch) | |
tree | 071c04ac91802db0939f7eb5d1bbfda1690067e0 /include/linux/mlx5 | |
parent | 1dcb6c36a5ebac46099b6363ccf8f4e7563d51e2 (diff) | |
download | linux-2a913f23447ce7ef2a4dcaaa230ff43116cf5249.tar.xz |
net/mlx5: Add VDPA interface type to supported enumerations
VDPA is a new interface that will be added in subsequent patches. It
uses mlx5 core devices and resources. Add an interface type for it.
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r-- | include/linux/mlx5/driver.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index f2557d7e1355..5ecc48831ae8 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -1054,6 +1054,7 @@ enum { enum { MLX5_INTERFACE_PROTOCOL_IB = 0, MLX5_INTERFACE_PROTOCOL_ETH = 1, + MLX5_INTERFACE_PROTOCOL_VDPA = 2, }; struct mlx5_interface { |