]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_matchall: Pass mall_entry as arg to mlxsw_sp_mall_port_mirror_add()
authorJiri Pirko <jiri@mellanox.com>
Mon, 27 Apr 2020 15:13:03 +0000 (18:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2020 19:43:29 +0000 (12:43 -0700)
commit7fdd268f846d5c37b7302055844d79f40bbb57f0
treec834ff77eadfd7a9a5dea55434d641d6171d9b9a
parent768c6b41280738d9de47a97585bd2ee3200ce5c9
mlxsw: spectrum_matchall: Pass mall_entry as arg to mlxsw_sp_mall_port_mirror_add()

In the preparation for future changes, have the
mlxsw_sp_mall_port_mirror_add() function to accept mall_entry including
the "to_dev" originally obtained from act pointer.

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