aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/drivers
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2020-05-09 23:06:07 +0300
committerJakub Kicinski <kuba@kernel.org>2020-05-09 16:02:43 -0700
commit67ed68fc0c9aa4a456d03df216e571e0c6177097 (patch)
tree0148c4217c9837fb26fb78451f259108e5c88a9e /tools/testing/selftests/drivers
parentmlxsw: spectrum_matchall: Forbid to insert matchall rules in collision with flower rules (diff)
downloadwireguard-linux-67ed68fc0c9aa4a456d03df216e571e0c6177097.tar.xz
wireguard-linux-67ed68fc0c9aa4a456d03df216e571e0c6177097.zip
mlxsw: spectrum_flower: Forbid to insert flower rules in collision with matchall 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 flower rules against existing matchall 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 'tools/testing/selftests/drivers')
0 files changed, 0 insertions, 0 deletions