Lines Matching refs:ksft_eq
8 from lib.py import ksft_eq, ksft_ne, ksft_ge, ksft_in, ksft_lt, ksft_true, ksft_raises
30 ksft_eq(bool(non_zero), True, comment=f"RSS key is all zero {data['rss-hash-key']}")
105 ksft_eq(sum(cnts[i] for i in params['empty']), 0,
139 ksft_eq(key, data['rss-hash-key'])
148 ksft_eq(0, min(data['rss-indirection-table']))
149 ksft_eq(2, max(data['rss-indirection-table']))
156 ksft_eq(0, min(data['rss-indirection-table']))
157 ksft_eq(qcnt - 1, max(data['rss-indirection-table']))
162 ksft_eq(0, min(data['rss-indirection-table']))
163 ksft_eq(1, max(data['rss-indirection-table']))
173 ksft_eq(sum(cnts[2:]), 0, "traffic on unused queues: " + str(cnts))
215 ksft_eq(0, min(data['rss-indirection-table']))
216 ksft_eq(3, max(data['rss-indirection-table']))
223 ksft_eq(0, min(data['rss-indirection-table']))
224 ksft_eq(4, max(data['rss-indirection-table']))
245 ksft_eq({0, 3}, set(data['rss-indirection-table']))
280 ksft_eq(ntuple, ntuple2)
316 ksft_eq(0, min(data['rss-indirection-table']))
317 ksft_eq(1, max(data['rss-indirection-table']))
319 ksft_eq(7,
351 ksft_eq(errors1 - errors1, 0)
352 ksft_eq(carrier1 - carrier0, 0)
389 ksft_eq(len(tuples), len(set(tuples)), "duplicates in context dump")
391 ksft_eq(expect_tuples, ctx_tuples)
400 ksft_eq(set(data['indir']), {0, 1},
403 ksft_eq(data['hkey'], bytes(key_data), "ctx2 - key mismatch")
409 ksft_eq(len(tuples), len(ctx_tuples), "duplicates in context dump")
410 ksft_eq(expect_tuples, ctx_tuples)
417 ksft_eq(len(tuples), len(set(tuples)), "duplicates in context dump")
419 ksft_eq(expect_tuples, ctx_tuples)
424 ksft_eq(expect_tuples, ctx_tuples)
480 … ksft_eq(min(data['rss-indirection-table']), 2 + i * 2, "Unexpected context cfg: " + str(data))
481 … ksft_eq(max(data['rss-indirection-table']), 2 + i * 2 + 1, "Unexpected context cfg: " + str(data))
637 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))
654 ksft_eq(sum(cnts[4: ]), 0, "traffic on other queues: " + str(cnts))