| /tools/testing/selftests/net/ |
| A D | nl_netdev.py | 29 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 D | rss_api.py | 135 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 D | rss_ctx.py | 139 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 D | devmem.py | 6 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 D | irq.py | 5 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 D | rss_input_xfrm.py | 6 from lib.py import ksft_run, ksft_exit, ksft_eq, ksft_ge, cmd, fd_read_timeout 56 ksft_eq(
|
| A D | tso.py | 13 from lib.py import ksft_eq, ksft_ge, ksft_lt 27 ksft_eq(outq, 0)
|
| /tools/testing/selftests/drivers/net/ |
| A D | shaper.py | 19 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 D | queues.py | 5 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 D | stats.py | 12 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 D | napi_threaded.py | 9 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 D | hds.py | 6 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 D | napi_id.py | 5 from lib.py import ksft_eq, NetDrvEpEnv 15 ksft_eq(0, server.ret)
|
| A D | xdp.py | 14 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 D | ping.py | 7 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__.py | 23 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__.py | 24 from net.lib.py import ksft_eq, ksft_ge, ksft_in, ksft_is, ksft_lt, \
|
| /tools/testing/selftests/net/lib/py/ |
| A D | ksft.py | 58 def ksft_eq(a, b, comment=""): function
|