aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2019-10-30 16:09:07 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-30 18:07:51 -0700
commit9ae6b78708a7975c1e6b26134c5090671aafbd92 (patch)
tree67bbd966e6608d037f88394e84ac36cc3f79bc01 /tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json
parentnet: sched: update action implementations to support flags (diff)
downloadlinux-dev-9ae6b78708a7975c1e6b26134c5090671aafbd92.tar.xz
linux-dev-9ae6b78708a7975c1e6b26134c5090671aafbd92.zip
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 '')
-rw-r--r--tools/testing/selftests/tc-testing/tc-tests/actions/vlan.json24
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"
+ ]
}
]