mlxsw: reg: Add local-port to Infiniband port mapping
authorElad Raz <eladr@mellanox.com>
Fri, 28 Oct 2016 19:35:54 +0000 (21:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Oct 2016 20:50:17 +0000 (16:50 -0400)
commit7136793e4a44651b273a457e31f00a51751dd123
tree4b152c725fd099b7114b2f1bd89ff55ac74d1aa8
parent794177027b200a2b9b29aa153fe2ae8bd5610c21
mlxsw: reg: Add local-port to Infiniband port mapping

In order to change a port type to Infiniband port we should change his
mapping from local-port to Infiniband. Adding the PLIB (Port Local to
InfiniBand) allows this mapping.

Signed-off-by: Elad Raz <eladr@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h