summaryrefslogtreecommitdiffstats
path: root/tests/py/any/queue.t.json
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-06-15 23:03:57 +0200
committerFlorian Westphal <fw@strlen.de>2021-06-21 14:44:58 +0200
commite4c9023c3c3964edc8ca33ebfef7da46ab8c2c7f (patch)
tree9aab3bcb35eb67d65dedff310db25c18683f5920 /tests/py/any/queue.t.json
parent6cf0f2c17bfb96c05dd0c03e0b91a75d732917cf (diff)
tests: extend queue testcases for new sreg support
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/py/any/queue.t.json')
-rw-r--r--tests/py/any/queue.t.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/tests/py/any/queue.t.json b/tests/py/any/queue.t.json
index 48e86727..18ed3c81 100644
--- a/tests/py/any/queue.t.json
+++ b/tests/py/any/queue.t.json
@@ -84,3 +84,59 @@
}
]
+# queue to symhash mod 65536
+[
+ {
+ "queue": {
+ "num": {
+ "symhash": {
+ "mod": 65536
+ }
+ }
+ }
+ }
+]
+
+# queue flags bypass to numgen inc mod 65536
+[
+ {
+ "queue": {
+ "flags": "bypass",
+ "num": {
+ "numgen": {
+ "mod": 65536,
+ "mode": "inc",
+ "offset": 0
+ }
+ }
+ }
+ }
+]
+
+# queue to jhash oif . meta mark mod 32
+[
+ {
+ "queue": {
+ "num": {
+ "jhash": {
+ "expr": {
+ "concat": [
+ {
+ "meta": {
+ "key": "oif"
+ }
+ },
+ {
+ "meta": {
+ "key": "mark"
+ }
+ }
+ ]
+ },
+ "mod": 32
+ }
+ }
+ }
+ }
+]
+