]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf49251a5b500f93d856d0178faa452022f7dcf7
tree3142608032d9c0bd1ab04eca85aa97c35d78f31c
parenta1a4f59739ea311973c25ddddd94f368fcc9ecad
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