aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/eswitch.h
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2018-01-16 14:13:46 +0000
committerSaeed Mahameed <saeedm@mellanox.com>2018-02-23 12:36:38 -0800
commit5e65b02c00900155833008b7992bbbbc7f0df2ac (patch)
treebd29b97f351e3fe44ffde85f6e509c46b6e79845 /include/linux/mlx5/eswitch.h
parentnet/mlx5: E-Switch, Optimize HW steering tables in switchdev mode (diff)
downloadlinux-dev-5e65b02c00900155833008b7992bbbbc7f0df2ac.tar.xz
linux-dev-5e65b02c00900155833008b7992bbbbc7f0df2ac.zip
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>
Diffstat (limited to '')
-rw-r--r--include/linux/mlx5/eswitch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/eswitch.h b/include/linux/mlx5/eswitch.h
index f62bf486c18c..d3c9db492b30 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,
};