net/mlx5: E-Switch, Add definition of IB representor
authorMark Bloch <[email protected]>
Tue, 16 Jan 2018 14:13:46 +0000 (14:13 +0000)
committerSaeed Mahameed <[email protected]>
Fri, 23 Feb 2018 20:36:38 +0000 (12:36 -0800)
commit5e65b02c00900155833008b7992bbbbc7f0df2ac
treebd29b97f351e3fe44ffde85f6e509c46b6e79845
parentf80be5436de78d0231cfb79b368edb9b90c3b057
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 <[email protected]>
Reviewed-by: Or Gerlitz <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
include/linux/mlx5/eswitch.h