mlxsw: spectrum: pass local_port to mlxsw_sp_port_fdb_uc_op
authorJiri Pirko <jiri@mellanox.com>
Thu, 7 Jan 2016 10:50:29 +0000 (11:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Jan 2016 02:06:33 +0000 (21:06 -0500)
commit2fa9d45e16089b499909d807025f0d66b2442d57
tree3142608032d9c0bd1ab04eca85aa97c35d78f31c
parent824b1a97400338e47ba7f878a42cd89d80cd5b81
mlxsw: spectrum: pass local_port to mlxsw_sp_port_fdb_uc_op

Do not pass struct mlxsw_sp_port to mlxsw_sp_port_fdb_uc_op and rather
just pass local_port. This is needed in case this is called from SFN
process function and mlxsw_sp_port is not existent for particular
local_port.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c