Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark Bloch and committed by
Saeed Mahameed
5e65b02c f80be543

+1
+1
include/linux/mlx5/eswitch.h
··· 16 16 17 17 enum { 18 18 REP_ETH, 19 + REP_IB, 19 20 NUM_REP_TYPES, 20 21 }; 21 22