mlxsw: Adding VID to FID translatation
authorElad Raz <eladr@mellanox.com>
Sun, 10 Jan 2016 20:06:27 +0000 (21:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Jan 2016 21:50:21 +0000 (16:50 -0500)
commite4b6f6931c0840b6a9505415bd02bd0c8520e4c9
treeb8730946e59245076ebed85f93c566ccb7fdfc04
parent53ae628316b8db6659bc8cef07698f624608c448
mlxsw: Adding VID to FID translatation

Adding a generic function that translate VID to FID.

Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-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/spectrum_switchdev.c