]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: Convert flower-based mirroring to new SPAN API
authorIdo Schimmel <idosch@mellanox.com>
Thu, 30 Apr 2020 17:01:14 +0000 (20:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2020 20:02:32 +0000 (13:02 -0700)
commitd72e29fa35899fec88e6cfd632571eb34d45a666
treeafc5a655bb7fae9b014219489e1625c4722708de
parent43777902a1d8ee472c990d4f09a09ff2236290c3
mlxsw: spectrum_acl: Convert flower-based mirroring to new SPAN API

In flower-based mirroring, mirroring is done with ACLs and the SPAN
agent is not bound to a port. Instead its identifier is specified in an
ACL action.

Convert this type of mirroring to use the new API.

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