提交 5e65b02c 编写于 作者: M Mark Bloch 提交者: Saeed Mahameed

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: NMark Bloch <markb@mellanox.com>
Reviewed-by: NOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: NLeon Romanovsky <leon@kernel.org>
Signed-off-by: NSaeed Mahameed <saeedm@mellanox.com>
上级 f80be543
...@@ -16,6 +16,7 @@ enum { ...@@ -16,6 +16,7 @@ enum {
enum { enum {
REP_ETH, REP_ETH,
REP_IB,
NUM_REP_TYPES, NUM_REP_TYPES,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册