]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
selftests: concurrency: add test to verify concurrent replace
authorVlad Buslov <vladbu@mellanox.com>
Fri, 22 Feb 2019 14:00:44 +0000 (16:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Feb 2019 20:49:59 +0000 (12:49 -0800)
commit424c5bd46ad3da8d69f302375bbda69d4a7107bc
treec0e2288d6e74aa54a381fb6369d7177363cd5ff7
parent4ba21de23a7656a91de9b002294be6c37ffc5627
selftests: concurrency: add test to verify concurrent replace

Implement test that verifies concurrent replacement of rules by executing
10 tc instances that replace flower filters in same handle range.

Extend tdc_multibatch.py script with new optional CLI argument that is used
to generate all batch files with same filter handle range.

Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tc-tests/filters/concurrency.json
tools/testing/selftests/tc-testing/tdc_multibatch.py