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)
commitc06a94ef61b920f2c2374f1195db982c835b651a
tree4f25903260be3fd81bf2a70044b30327b3c6c3ac
parent7f71eb46a4858499e6e1be796786a6a1a8d685e5
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