Browse Source

net/mlx5: E-Switch, Add definition of IB representor

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>
Mark Bloch 7 years ago
parent
commit
5e65b02c00
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/linux/mlx5/eswitch.h

+ 1 - 0
include/linux/mlx5/eswitch.h

@@ -16,6 +16,7 @@ enum {
 
 
 enum {
 enum {
 	REP_ETH,
 	REP_ETH,
+	REP_IB,
 	NUM_REP_TYPES,
 	NUM_REP_TYPES,
 };
 };