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)
commit7240db69c332f6625da044b048d06839ab0c2649
treeafc5a655bb7fae9b014219489e1625c4722708de
parentc1d7845dfbd3dfeed2cd7bf92ec10ea97ef5d7fd
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