]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5512a247a16ee186af9af89cea2a3a79ee6c38e
treeb06e93be60af1cf33a827ad9a1b90bd7084fd1ed
parente9d8da06a347e5b2150c7aea6873fdcc4bf4974e
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