diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-03-16 17:02:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-16 15:32:22 -0700 |
commit | 559313b2cbb762ee4efa4ab6cd6f800c39984c20 (patch) | |
tree | c7b192a23faf70e5aa8f163df0379b889c898541 /net/lapb/lapb_timer.c | |
parent | 6561df560833952fee3ff8dd11c3b6a2041b3b1a (diff) | |
download | linux-559313b2cbb762ee4efa4ab6cd6f800c39984c20.tar.gz linux-559313b2cbb762ee4efa4ab6cd6f800c39984c20.tar.bz2 linux-559313b2cbb762ee4efa4ab6cd6f800c39984c20.zip |
mlxsw: spectrum_matchall: Push sampling checks to per-ASIC operations
Push some sampling checks to the per-ASIC operations, as they are no
longer relevant for all ASICs.
The sampling rate validation against the MPSC maximum rate is only
relevant for Spectrum-1, as Spectrum-2 and later ASICs no longer use
MPSC register for sampling.
The ingress / egress validation is pushed down to the per-ASIC
operations since subsequent patches are going to remove it for
Spectrum-2 and later ASICs.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions