aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2022-06-16 13:42:43 +0300
committerDavid S. Miller <[email protected]>2022-06-17 10:31:33 +0100
commitdd5d20e17c960dc5c8b8c585dfae79cf39660867 (patch)
treef571afc1311453d0e8ba8cd68b307819139aeec4 /tools/perf/scripts/python
parent35d5829e86c29892136ca96bd4d809d4429f1510 (diff)
selftests: mlxsw: tc_flower_scale: Add a traffic test
Add a test that checks that the created filters do actually trigger on matching traffic. Exercising all the rules would be a very lengthy process. Instead, take a log2 subset of rules. The logic behind picking log2 rules is that then every bit of the instantiated item's number is exercised. This should catch issues whether they happen at the high end, low end, or somewhere in between. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Amit Cohen <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions