From: Eli Cohen Date: Wed, 15 Jul 2020 04:28:33 +0000 (-0700) Subject: net/mlx5: Add VDPA interface type to supported enumerations X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2a913f23447ce7ef2a4dcaaa230ff43116cf5249;p=linux.git 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 Reviewed-by: Parav Pandit Signed-off-by: Saeed Mahameed --- diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index f2557d7e1355c..5ecc48831ae8b 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 {