Searched hist:ab8c06b7b42cf9e756a720931a0939cd0d56786a (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_span.h | diff ab8c06b7b42cf9e756a720931a0939cd0d56786a Fri Jul 10 16:55:08 CDT 2020 Ido Schimmel <idosch@mellanox.com> mlxsw: spectrum_span: Add support for global mirroring triggers
Global mirroring triggers are triggers that are only keyed by their trigger, as opposed to per-port triggers, which are keyed by their trigger and port.
Such triggers allow mirroring packets that were tail/early dropped or ECN marked to a SPAN agent.
Implement the previously added trigger operations for these global triggers. Since such triggers are only supported from Spectrum-2 onwards, have the Spectrum-1 operations return an error.
Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | spectrum_span.c | diff ab8c06b7b42cf9e756a720931a0939cd0d56786a Fri Jul 10 16:55:08 CDT 2020 Ido Schimmel <idosch@mellanox.com> mlxsw: spectrum_span: Add support for global mirroring triggers
Global mirroring triggers are triggers that are only keyed by their trigger, as opposed to per-port triggers, which are keyed by their trigger and port.
Such triggers allow mirroring packets that were tail/early dropped or ECN marked to a SPAN agent.
Implement the previously added trigger operations for these global triggers. Since such triggers are only supported from Spectrum-2 onwards, have the Spectrum-1 operations return an error.
Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|