diff options
author | David S. Miller <davem@davemloft.net> | 2019-02-24 21:49:59 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-24 21:49:59 +0100 |
commit | 45c0e7b25ab21b8217ae63d1d31850a40e415f57 (patch) | |
tree | 1168762dedc8854564c97bc392581d9b67439a85 /net/core | |
parent | net: Skip GSO length estimation if transport header is not set (diff) | |
parent | selftests: concurrency: add test to verify parallel replace/delete (diff) | |
download | linux-45c0e7b25ab21b8217ae63d1d31850a40e415f57.tar.xz linux-45c0e7b25ab21b8217ae63d1d31850a40e415f57.zip |
Merge branch 'Add-tests-for-unlocked-flower-classifier-implementation'
Vlad Buslov says:
====================
Add tests for unlocked flower classifier implementation
Implement tests for tdc testsuite to verify concurrent rules update with
rtnl-unlocked flower classifier implementation. The goal of these tests
is to verify general flower classifier correctness by updating filters
on same classifier instance in parallel and to verify its atomicity by
concurrently updating filters in same handle range. All three filter
update operations (add, replace, delete) are tested.
Existing script tdc_batch.py is re-used for batch file generation. It is
extended with several optional CLI arguments that are needed for
concurrency tests. Thin wrapper tdc_multibatch.py is implemented on top
of tdc_batch.py to simplify its usage when generating multiple batch
files for several test configurations.
Parallelism in tests is implemented by running multiple instances of tc
in batch mode with xargs tool. Xargs is chosen for its ease of use and
because it is available by default on most modern Linux distributions.
====================
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions