Home
last modified time | relevance | path

Searched refs:ksft_eq (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/net/
A Dnl_netdev.py29 ksft_eq(len(napis), 100)
49 ksft_eq(len(napis), 2)
134 ksft_eq(len(napis), 2)
192 ksft_eq(len(get_pp()), 0)
199 ksft_eq(refs, 0)
204 ksft_eq(len(pp_list), 0)
216 ksft_eq(len(pp_list), 1)
218 ksft_eq(refs, 1)
220 ksft_eq(len(attached), 0)
227 ksft_eq(len(attached), 1)
[all …]
/tools/testing/selftests/drivers/net/hw/
A Drss_api.py135 ksft_eq(ctx0, dflt)
144 ksft_eq(ctx0, dflt)
169 ksft_eq(ntf["name"], "rss-ntf")
176 ksft_eq(ntf["name"], "rss-ntf")
199 ksft_eq(ntf["name"], "rss-ntf")
225 ksft_eq(rss.get("hkey", [-1]), mod)
232 ksft_eq(rss.get("hkey", [-1]), mod)
292 ksft_eq(change_ic, cfg_ic,
381 ksft_eq(ntf["name"], "rss-ntf")
389 ksft_eq(ntf["name"], "rss-ntf")
[all …]
A Drss_ctx.py139 ksft_eq(key, data['rss-hash-key'])
148 ksft_eq(0, min(data['rss-indirection-table']))
280 ksft_eq(ntuple, ntuple2)
319 ksft_eq(7,
351 ksft_eq(errors1 - errors1, 0)
352 ksft_eq(carrier1 - carrier0, 0)
391 ksft_eq(expect_tuples, ctx_tuples)
400 ksft_eq(set(data['indir']), {0, 1},
410 ksft_eq(expect_tuples, ctx_tuples)
419 ksft_eq(expect_tuples, ctx_tuples)
[all …]
A Ddevmem.py6 from lib.py import ksft_eq, KsftSkipEx
35 ksft_eq(ncdevmem.ret, 0)
49 ksft_eq(socat.stdout.strip(), "hello\nworld")
63 ksft_eq(socat.stdout.strip(), "hello\nworld")
A Dirq.py5 from lib.py import ksft_ge, ksft_eq
30 ksft_eq(irqs, len(napis))
49 ksft_eq(read_affinity(n['irq']), new, comment="IRQ affinity changed after reconfig")
A Drss_input_xfrm.py6 from lib.py import ksft_run, ksft_exit, ksft_eq, ksft_ge, cmd, fd_read_timeout
56 ksft_eq(
A Dtso.py13 from lib.py import ksft_eq, ksft_ge, ksft_lt
27 ksft_eq(outq, 0)
/tools/testing/selftests/drivers/net/
A Dshaper.py19 ksft_eq(len(shapers), 0)
72 ksft_eq(raised, True)
83 ksft_eq(shapers, [{'ifindex': cfg.ifindex,
103 ksft_eq(len(shapers), 0)
135 ksft_eq(len(shapers), 0)
167 ksft_eq(shaper, {'ifindex': cfg.ifindex,
180 ksft_eq(len(shapers), 1)
221 ksft_eq(shaper, {'ifindex': cfg.ifindex,
246 ksft_eq(raised, True)
282 ksft_eq(len(shapers), 0)
[all …]
A Dqueues.py5 from lib.py import ksft_eq, ksft_not_in, ksft_raises, KsftSkipEx, KsftFailEx
51 ksft_eq(q.get('xsk', None), {},
57 ksft_eq(rx, True)
58 ksft_eq(tx, True)
70 ksft_eq(queues, expected)
91 ksft_eq(queues, expected)
96 ksft_eq(queues, expected)
109 ksft_eq(cm.exception.nl_msg.error, -errno.ENOENT)
114 ksft_eq(cm.exception.nl_msg.error, -errno.ENOENT)
A Dstats.py12 from lib.py import ksft_ge, ksft_eq, ksft_is, ksft_in, ksft_lt, ksft_true, ksft_raises
109 ksft_eq(len(entry), 1)
139 ksft_eq(len(queues[qtype]), len(set(queues[qtype])),
141 ksft_eq(len(queues[qtype]), max(queues[qtype]) + 1,
148 ksft_eq(cm.exception.nl_msg.error, -34)
149 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
154 ksft_eq(cm.exception.nl_msg.error, -errno.EOPNOTSUPP)
155 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
166 ksft_eq(cm.exception.nl_msg.error, -19)
167 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
A Dnapi_threaded.py9 from lib.py import ksft_eq, ksft_ne, ksft_ge
16 ksft_eq(napi['threaded'], 'enabled')
22 ksft_eq(napi['threaded'], 'disabled')
23 ksft_eq(napi.get('pid'), None)
A Dhds.py6 from lib.py import ksft_run, ksft_exit, ksft_eq, ksft_raises, KsftSkipEx
76 ksft_eq('enabled', rings['tcp-data-split'])
93 ksft_eq('disabled', rings['tcp-data-split'])
110 ksft_eq(0, rings['hds-thresh'])
140 ksft_eq(hds_thresh, rings['hds-thresh'])
157 ksft_eq(rings['hds-thresh'], rings['hds-thresh-max'])
171 ksft_eq(e.exception.nl_msg.error, -errno.EINVAL)
237 ksft_eq(mode1, mode2)
A Dnapi_id.py5 from lib.py import ksft_eq, NetDrvEpEnv
15 ksft_eq(0, server.ret)
A Dxdp.py14 from lib.py import ksft_run, ksft_exit, ksft_eq, ksft_ne, ksft_pr
215 ksft_eq(_test_udp(cfg, port, msg_sz), True, "UDP packet exchange failed")
219 ksft_eq(stats[XDPStats.RX.value], stats[XDPStats.PASS.value], "RX and PASS stats mismatch")
262 ksft_eq(_test_udp(cfg, port, msg_sz), False, "UDP packet exchange should fail")
266 ksft_eq(stats[XDPStats.RX.value], stats[XDPStats.DROP.value], "RX and DROP stats mismatch")
319 ksft_eq(rnc.stdout.strip(), test_string, "UDP packet exchange failed")
320 ksft_eq(stats[XDPStats.TX.value], 1, "TX stats mismatch")
A Dping.py7 from lib.py import ksft_eq, KsftSkipEx, KsftFailEx
44 ksft_eq(nc.stdout.strip(), test_string)
51 ksft_eq(nc.stdout.strip(), test_string)
/tools/testing/selftests/drivers/net/lib/py/
A D__init__.py23 from net.lib.py import ksft_eq, ksft_ge, ksft_in, ksft_is, ksft_lt, \
/tools/testing/selftests/drivers/net/hw/lib/py/
A D__init__.py24 from net.lib.py import ksft_eq, ksft_ge, ksft_in, ksft_is, ksft_lt, \
/tools/testing/selftests/net/lib/py/
A Dksft.py58 def ksft_eq(a, b, comment=""): function

Completed in 19 milliseconds