net/mlx5: E-Switch, Add definition of IB representor
authorMark Bloch <markb@mellanox.com>
Tue, 16 Jan 2018 14:13:46 +0000 (14:13 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
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 <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>
include/linux/mlx5/eswitch.h