]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Use FID instead of VID when accessing FDB
authorIdo Schimmel <idosch@mellanox.com>
Tue, 15 Dec 2015 15:03:40 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 16:58:22 +0000 (11:58 -0500)
commitd883247f40f5722f0b6755e99e9860f750e6372c
tree59d1f9678c9f7a8a2c6ab5ccd5975b09a450ca75
parentc9f404a9189d7ccaf74f306ae315631d1dc9e47d
mlxsw: spectrum: Use FID instead of VID when accessing FDB

In the Spectrum ASIC - unlike SwitchX-2 - FDB access is done by
specifying FID as parameter and not VID.

Change the relevant variables and parameters names to reflect that.

Note that this was OK up until now, since FID was always equal to VID,
but with the introduction of VLAN interfaces this is no longer the case.

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