Blob Blame History Raw
From: Eli Cohen <eli@mellanox.com>
Date: Tue, 14 Jul 2020 21:28:33 -0700
Subject: net/mlx5: Add VDPA interface type to supported enumerations
Patch-mainline: v5.9-rc1
Git-commit: 2a913f23447ce7ef2a4dcaaa230ff43116cf5249
References: jsc#SLE-15172

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>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 include/linux/mlx5/driver.h |    1 +
 1 file changed, 1 insertion(+)

--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -1058,6 +1058,7 @@ enum {
 enum {
 	MLX5_INTERFACE_PROTOCOL_IB  = 0,
 	MLX5_INTERFACE_PROTOCOL_ETH = 1,
+	MLX5_INTERFACE_PROTOCOL_VDPA = 2,
 };
 
 struct mlx5_interface {