diff options
author | Jiri Pirko <jiri@mellanox.com> | 2020-05-09 23:06:06 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-05-09 16:02:43 -0700 |
commit | 18346b70ab776fa2cbb9a5f0f0f9c4700c470c5e (patch) | |
tree | 9de16dc0a9e67c90a75128e9438ec54a1acb6692 /mm/readahead.c | |
parent | aed65285fb9e16328f9bbf14394fef5ddbe82815 (diff) | |
download | linux-18346b70ab776fa2cbb9a5f0f0f9c4700c470c5e.tar.gz linux-18346b70ab776fa2cbb9a5f0f0f9c4700c470c5e.tar.bz2 linux-18346b70ab776fa2cbb9a5f0f0f9c4700c470c5e.zip |
mlxsw: spectrum_matchall: Forbid to insert matchall rules in collision with flower rules
On ingress, the matchall rules doing mirroring and sampling are offloaded
into hardware blocks that are processed before any flower rules.
On egress, the matchall mirroring rules are offloaded into hardware
block that is processed after all flower rules.
Therefore check the priorities of inserted matchall rules against
existing flower rules and ensure the correct ordering.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions