]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: tc-testing: add action offload selftest for action and filter
authorBaowen Zheng <baowen.zheng@corigine.com>
Fri, 17 Dec 2021 18:16:29 +0000 (19:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Dec 2021 14:08:48 +0000 (14:08 +0000)
commitd3f9da86f7b368f3bcb55c37c8ec3c334d7f8a9b
tree6dc9fd06f0f2033e92a05208d69c72f35e2abbb5
parentc52d6e03058541c7ce8dd30a786ca370c06e0467
selftests: tc-testing: add action offload selftest for action and filter

Add selftest cases in action police with skip_hw.
Add selftest case to validate flags of filter and action.
These tests depend on corresponding iproute2 command support.

Signed-off-by: Baowen Zheng <baowen.zheng@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tc-tests/actions/police.json
tools/testing/selftests/tc-testing/tc-tests/filters/matchall.json