diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-02-22 16:00:41 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-24 12:49:58 -0800 |
commit | 450ef62033c76cb654e0deaf432c1b40b57d1488 (patch) | |
tree | 84bb25ade997a2a3a6ba7070af200676e99ca200 /tools/testing/selftests/tc-testing/tdc_config.py | |
parent | 3b07270db82a617bb1be4890aaf4f80e9c1a4e8b (diff) |
selftests: concurrency: add test to verify parallel rules insertion
Implement test that verifies parallel rules insertion by adding 1 million
flower filters with 10 concurrent tc instances. Put it to standalone
'concurrency' category.
Implement tdc_multibatch.py helper script that is used to generate multiple
batch files for concurrent tc execution. Extend config with new 'BATCH_DIR'
variable to specify temporary output directory that is used to store batch
files generated by tdc_multibatch.py.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc_config.py')
-rw-r--r-- | tools/testing/selftests/tc-testing/tdc_config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/tc-testing/tdc_config.py b/tools/testing/selftests/tc-testing/tdc_config.py index 6d91e48c2625..942c70c041be 100644 --- a/tools/testing/selftests/tc-testing/tdc_config.py +++ b/tools/testing/selftests/tc-testing/tdc_config.py @@ -15,6 +15,7 @@ NAMES = { 'DEV1': 'v0p1', 'DEV2': '', 'BATCH_FILE': './batch.txt', + 'BATCH_DIR': 'tmp', # Length of time in seconds to wait before terminating a command 'TIMEOUT': 12, # Name of the namespace to use |