linux/drivers/net/ethernet/mellanox/mlxsw
Ido Schimmel 9c4d442314 mlxsw: spectrum: Create a function to map vPort's FID
A FID used by a vPort (vFID, but also rFID later in the series) is
always mapped using {Port, VID} and not only VID as with the 4K FIDs of
the VLAN-aware bridge.

Instead of specifying all the arguments each time, just wrap this
operation using a dedicated function and simplify the code.

As before, the function takes FID as its argument in preparation for a
generic FID struct.

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>
2016-06-21 05:02:49 -04:00
..
cmd.h mlxsw: cmd: Introduce FID-offset flooding tables 2015-10-16 07:15:10 -07:00
core_hwmon.c mlxsw: core: remove an unnecessary condition 2016-01-06 15:07:47 -05:00
core.c mlxsw: core: Remove deprecated create_workqueue 2016-06-09 23:49:43 -07:00
core.h mlxsw: core: Introduce support for asynchronous EMAD register access 2016-04-14 16:22:06 -04:00
emad.h mlxsw: Add interface to access registers and process events 2015-07-30 00:05:00 -07:00
item.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-10-20 06:08:27 -07:00
Kconfig mlxsw: spectrum: Introduce support for Data Center Bridging (DCB) 2016-04-06 17:24:18 -04:00
Makefile mlxsw: spectrum: Introduce support for Data Center Bridging (DCB) 2016-04-06 17:24:18 -04:00
pci.c mlxsw: pci: Implement reset done check 2016-03-13 22:30:01 -04:00
pci.h mlxsw: pci: Implement reset done check 2016-03-13 22:30:01 -04:00
port.h mlxsw: spectrum: Introduce port splitting 2016-03-01 16:07:31 -05:00
reg.h mlxsw: reg: Extend SBPM register for occupancy control 2016-04-14 16:22:06 -04:00
spectrum_buffers.c mlxsw: spectrum_buffers: Use MLXSW_SP_PB_UNUSED define for unused pb 2016-04-15 13:02:43 -04:00
spectrum_dcb.c mlxsw: spectrum: Add IEEE 802.1Qbb PFC support 2016-04-06 17:24:20 -04:00
spectrum_switchdev.c mlxsw: spectrum: Remove redundant function argument 2016-06-21 05:02:49 -04:00
spectrum.c mlxsw: spectrum: Create a function to map vPort's FID 2016-06-21 05:02:49 -04:00
spectrum.h mlxsw: spectrum: Remove redundant function argument 2016-06-21 05:02:49 -04:00
switchx2.c mlxsw: Do not pass around driver_priv directly 2016-04-08 15:38:42 -04:00
trap.h
txheader.h mlxsw: spectrum: Add initial support for Spectrum ASIC 2015-10-16 07:15:23 -07:00