Blob Blame History Raw
From: Mark Bloch <markb@mellanox.com>
Date: Tue, 16 Jan 2018 14:13:46 +0000
Subject: net/mlx5: E-Switch, Add definition of IB representor
Patch-mainline: v4.17-rc1
Git-commit: 5e65b02c00900155833008b7992bbbbc7f0df2ac
References: bsc#1103990 FATE#326006

Create a new representor type: REP_IB. which will be initialized by an IB
device that is used as a logical representor of a eswitch vport (VF or
uplink) just like we have a net device today in switchdev mode.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
 include/linux/mlx5/eswitch.h |    1 +
 1 file changed, 1 insertion(+)

--- a/include/linux/mlx5/eswitch.h
+++ b/include/linux/mlx5/eswitch.h
@@ -16,6 +16,7 @@ enum {
 
 enum {
 	REP_ETH,
+	REP_IB,
 	NUM_REP_TYPES,
 };