Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/net/
H A Dnl_netdev.py28 ksft_eq(len(napis), 100)
34 ksft_eq(len(napis), 100,
69 ksft_eq(len(get_pp()), 0)
76 ksft_eq(refs, 0)
81 ksft_eq(len(pp_list), 0)
93 ksft_eq(len(pp_list), 1)
95 ksft_eq(refs, 1)
97 ksft_eq(len(attached), 0)
104 ksft_eq(len(attached), 1)
105 ksft_eq(len(detached), 1)
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/
H 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 …]
H 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)
H A Dstats.py8 from lib.py import ksft_ge, ksft_eq, ksft_is, ksft_in, ksft_lt, ksft_true, ksft_raises
98 ksft_eq(len(entry), 1)
128 ksft_eq(len(queues[qtype]), len(set(queues[qtype])),
130 ksft_eq(len(queues[qtype]), max(queues[qtype]) + 1,
137 ksft_eq(cm.exception.nl_msg.error, -34)
138 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
143 ksft_eq(cm.exception.nl_msg.error, -errno.EOPNOTSUPP)
144 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
155 ksft_eq(cm.exception.nl_msg.error, -19)
156 ksft_eq(cm.exception.nl_msg.extack['bad-attr'], '.ifindex')
H 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)
H 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)
/linux-6.15/tools/testing/selftests/drivers/net/hw/
H 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 …]
H 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")
H A Dnic_link_layer.py30 from lib.py import ksft_run, ksft_exit, ksft_pr, ksft_eq
52 ksft_eq(partner_autoneg_state, expected_state)
60 ksft_eq(actual_state, expected_state)
H A Ddevmem.py5 from lib.py import ksft_eq, KsftSkipEx
34 ksft_eq(socat.stdout.strip(), "hello\nworld")
H A Drss_input_xfrm.py6 from lib.py import ksft_run, ksft_exit, ksft_eq, ksft_ge, cmd, fd_read_timeout
51 ksft_eq(
H A Dtso.py13 from lib.py import ksft_eq, ksft_ge, ksft_lt
27 ksft_eq(outq, 0)
/linux-6.15/tools/testing/selftests/drivers/net/hw/lib/py/
H A Dlinkconfig.py4 from lib.py import ksft_pr, ksft_eq, KsftSkipEx
107 ksft_eq(actual_speed, expected_speed)
108 ksft_eq(actual_duplex, expected_duplex)
/linux-6.15/tools/testing/selftests/net/lib/py/
H A Dksft.py52 def ksft_eq(a, b, comment=""): function