Searched refs:sim (Results 1 – 1 of 1) sorted by relevance
/tools/testing/selftests/bpf/ |
D | test_offload.py | 631 fail(dev["ifname"] != sim["ifname"], 632 "Ifname incorrect %s vs %s" % (dev["ifname"], sim["ifname"])) 671 def test_spurios_extack(sim, obj, skip_hw, needle): argument 672 res = sim.cls_bpf_add_filter(obj, prio=1, handle=1, skip_hw=skip_hw, 675 res = sim.cls_bpf_add_filter(obj, op="replace", prio=1, handle=1, 678 res = sim.cls_filter_op(op="delete", prio=1, handle=1, cls="bpf", 682 def test_multi_prog(simdev, sim, obj, modename, modeid): argument 685 sim.set_xdp(obj, "offload") 686 xdp = sim.ip_link_show(xdp=True)["xdp"] 687 offloaded = sim.dfs_read("bpf_offloaded_id") [all …]
|