diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-10-30 17:09:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-31 04:07:51 +0300 |
commit | 9ae6b78708a7975c1e6b26134c5090671aafbd92 (patch) | |
tree | 67bbd966e6608d037f88394e84ac36cc3f79bc01 /tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json | |
parent | e38226786022d2d8e5876ab7bc37e82b0eb57e65 (diff) | |
download | linux-9ae6b78708a7975c1e6b26134c5090671aafbd92.tar.xz |
tc-testing: implement tests for new fast_init action flag
Add basic tests to verify action creation with new fast_init flag for all
actions that support the flag.
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/tc-tests/actions/vlan.json')
-rw-r--r-- | tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json b/tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json index 6503b1ce091f..41d783254b08 100644 --- a/tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json +++ b/tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json @@ -807,5 +807,29 @@ "matchPattern": "^[ \t]+index [0-9]+ ref", "matchCount": "0", "teardown": [] + }, + { + "id": "1a3d", + "name": "Add vlan pop action with no_percpu flag", + "category": [ + "actions", + "vlan" + ], + "setup": [ + [ + "$TC actions flush action vlan", + 0, + 1, + 255 + ] + ], + "cmdUnderTest": "$TC actions add action vlan pop no_percpu", + "expExitCode": "0", + "verifyCmd": "$TC actions list action vlan", + "matchPattern": "action order [0-9]+: vlan.*pop.*no_percpu", + "matchCount": "1", + "teardown": [ + "$TC actions flush action vlan" + ] } ] |