mlxsw: spectrum_router: Replace vPorts with Port-VLAN
authorIdo Schimmel <idosch@mellanox.com>
Fri, 26 May 2017 06:37:28 +0000 (08:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 May 2017 19:18:45 +0000 (15:18 -0400)
commit7cbecf245ade1739f34e00a10b2cdedd851bd7f4
treeb06e93be60af1cf33a827ad9a1b90bd7084fd1ed
parentce95e1545681dd73fa73ac12a06135c4fcdb47cc
mlxsw: spectrum_router: Replace vPorts with Port-VLAN

We're going to get rid of vPorts completely later in the patchset, but
the router code is self-contained, so it's a good candidate to start the
transition with.

Convert all the functions that expects to operate on a vPort to operate
on a Port-VLAN instead.

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.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c