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.py607 def check_multi_basic(two_xdps): argument
608 fail(two_xdps["mode"] != 4, "Bad mode reported with multiple programs")
609 fail("prog" in two_xdps, "Base program reported in multi program mode")
610 fail(len(two_xdps["attached"]) != 2,
612 fail(two_xdps["attached"][0]["prog"]["id"] ==
613 two_xdps["attached"][1]["prog"]["id"],
638 two_xdps = sim.ip_link_show(xdp=True)["xdp"]
640 fail(xdp["attached"][0] not in two_xdps["attached"],
642 check_multi_basic(two_xdps)
666 fail(xdp["attached"][0] not in two_xdps["attached"],
[all …]