mlxsw: switchx2: Add Infiniband switch partition
authorElad Raz <eladr@mellanox.com>
Fri, 28 Oct 2016 19:35:56 +0000 (21:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Oct 2016 20:50:17 +0000 (16:50 -0400)
commitc68b71cb2fa98e2fa1e177278b349cf2653d8d83
tree03bf8c6ca99a768676fba017f0ba7af9c33714d7
parent67963a33b4fde8f77b046f80daf83afc6e126991
mlxsw: switchx2: Add Infiniband switch partition

In order to put a port in Infiniband fabric it should be assigned
to separate swid (Switch partition) that initialized as IB swid.

Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/port.h
drivers/net/ethernet/mellanox/mlxsw/switchx2.c