]> 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)
commit92e22b22e9deaa7862136b9601218ac307ca4ccf
tree4f25903260be3fd81bf2a70044b30327b3c6c3ac
parent3dcbf2d79143c473a93ce7513d1bb690d5e66337
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