selftests/tc-testings: add selftests for tcindex filter
authorZhengchao Shao <shaozhengchao@huawei.com>
Fri, 16 Sep 2022 02:02:50 +0000 (10:02 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 22:54:38 +0000 (15:54 -0700)
commitfa8dfba59e78a7ba2f523a1b7e5beb5451a84d44
treeea2394e91d895c168407070460222c4b63759b36
parent23020350eb6abf2df9c5c6363d64f61058567a5a
selftests/tc-testings: add selftests for tcindex filter

Test 8293: Add tcindex filter with default action
Test 7281: Add tcindex filter with hash size and pass action
Test b294: Add tcindex filter with mask shift and reclassify action
Test 0532: Add tcindex filter with pass_on and continue actions
Test d473: Add tcindex filter with pipe action
Test 2940: Add tcindex filter with miltiple actions
Test 1893: List tcindex filters
Test 2041: Change tcindex filter with pass action
Test 9203: Replace tcindex filter with pass action
Test 7957: Delete tcindex filter with drop action

Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Reviewed-by: Victor Nogueira <victor@mojatatu.com>
Tested-by: Victor Nogueira <victor@mojatatu.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tc-tests/filters/tcindex.json [new file with mode: 0644]