diff options
| author | Ido Schimmel <[email protected]> | 2021-03-11 12:24:15 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-12 00:22:39 +0000 |
| commit | 34a277212c67a395b47b715aa89c4b4e2c957d42 (patch) | |
| tree | 69d3a4b98bef6506ae2de046e71dc44af8f89375 /net/tipc/node.c | |
| parent | mlxsw: spectrum_matchall: Split sampling support between ASICs (diff) | |
| download | kernel-34a277212c67a395b47b715aa89c4b4e2c957d42.tar.gz kernel-34a277212c67a395b47b715aa89c4b4e2c957d42.zip | |
mlxsw: spectrum_trap: Split sampling traps between ASICs
Sampling of ingress packets is supported using a dedicated sampling
mechanism on all Spectrum ASICs. However, Spectrum-2 and later ASICs
support more sophisticated sampling by mirroring packets to the CPU.
As a preparation for more advanced sampling configurations, split the trap
configuration used for sampled packets between Spectrum-1 and later ASICs.
This is needed since packets that are mirrored to the CPU are trapped
via a different trap identifier compared to packets that are sampled
using the dedicated sampling mechanism.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
