From: Mark Bloch Date: Tue, 16 Jan 2018 14:13:46 +0000 (+0000) Subject: net/mlx5: E-Switch, Add definition of IB representor X-Git-Tag: v4.17-rc1~94^2~175^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e65b02c00900155833008b7992bbbbc7f0df2ac;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Or Gerlitz Signed-off-by: Leon Romanovsky Signed-off-by: Saeed Mahameed --- diff --git a/include/linux/mlx5/eswitch.h b/include/linux/mlx5/eswitch.h index f62bf486c18c7..d3c9db492b300 100644 --- 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, };