Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/net/
H A Dbpf_offload.py612 def check_multi_basic(two_xdps): argument
613 fail(two_xdps["mode"] != 4, "Bad mode reported with multiple programs")
614 fail("prog" in two_xdps, "Base program reported in multi program mode")
615 fail(len(two_xdps["attached"]) != 2,
617 fail(two_xdps["attached"][0]["prog"]["id"] ==
618 two_xdps["attached"][1]["prog"]["id"],
643 two_xdps = sim.ip_link_show(xdp=True)["xdp"]
645 fail(xdp["attached"][0] not in two_xdps["attached"],
647 check_multi_basic(two_xdps)
671 fail(xdp["attached"][0] not in two_xdps["attached"],
[all …]