]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Use appropriate parameter name
authorIdo Schimmel <idosch@mellanox.com>
Tue, 15 Dec 2015 15:03:38 +0000 (16:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Dec 2015 16:58:21 +0000 (11:58 -0500)
commitd4b51868296539b926d906ae6837c95347ac5f78
tree4f25903260be3fd81bf2a70044b30327b3c6c3ac
parenta926029964b8821fe2bec18d992c3611d9b6c379
mlxsw: spectrum: Use appropriate parameter name

The __mlxsw_sp_port_flood_set function is now used to configure flooding
for both FIDs and vFIDs, so change the parameter name to 'idx' instead
of 'fid'. This is also consistent with hardware documentation.

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