Lines Matching full:program
10 # THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS"
14 # OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
207 …raise Exception("Time out waiting for program counts to stabilize want %d, have %d" % (expected, n…
404 …raise Exception("Time out waiting for program counts to stabilize want %d/%d, have %d bound, %d lo…
436 "XDP program not reporting in iplink (reported %s, expected %s)" %
584 fail(dev != m["dev"], "Map's device different than program's")
609 fail("prog" in two_xdps, "Base program reported in multi program mode")
611 "Wrong attached program count with two programs")
633 fail("prog" not in xdp, "Base program not reported in single program mode")
635 "Wrong attached program count with one program")
641 "Offload program not reported after other activated")
646 "Offload ID changed after loading other program")
651 check_extack(err, "XDP program already attached.", args)
656 fail(ret == 0, "Removed program without a mode flag")
657 check_extack(err, "More than one program loaded, unset mode is ambiguous.", args)
665 "Base program not reported after multi program mode")
667 "Offload program not reported after other activated")
669 "Wrong attached program count with remaining programs")
670 fail(offloaded != "0", "Offload ID reported with only other program left")
677 "Other program not reported after offload activated")
879 fail(str(prog["id"]) != fltr["id"], "Program IDs don't match")
880 fail(prog["tag"] != fltr["tag"], "Program tags don't match")
881 fail(fltr["id"] != dprog["id"], "Program IDs don't match")
882 fail(dprog["state"] != "xlated", "Offloaded program state not translated")
883 fail(dprog["loaded"] != "Y", "Offloaded program is not loaded")
924 "Loaded program has wrong ID")
928 fail(ret == 0, "Replaced XDP program without -force")
933 fail(ret != 0, "Could not replace XDP program with -force")
938 "Loaded program has wrong ID")
940 "Device parameters reported for non-offloaded program")
945 fail(ret == 0, "Replaced XDP program with a program in different mode")
958 fail(ret == 0, "Driver should refuse to load program with MTU of 9000...")
968 fail(ret == 0, "attached non-offloaded XDP program to HW")
969 check_extack_nsim(err, "xdpoffload of non-bound program.", args)
977 fail(ret == 0, "attached offloaded XDP program to drv")
978 check_extack(err, "Using offloaded program without HW_MODE flag is not supported.", args)
997 fail(link_xdp["id"] != prog["id"], "Loaded program has wrong ID")
1003 fail(prog["id"] != link_xdp["id"], "Program IDs don't match")
1004 fail(prog["tag"] != link_xdp["tag"], "Program tags don't match")
1005 fail(str(link_xdp["id"]) != dprog["id"], "Program IDs don't match")
1006 fail(dprog["state"] != "xlated", "Offloaded program state not translated")
1007 fail(dprog["loaded"] != "Y", "Offloaded program is not loaded")
1009 start_test("Test removing XDP program many times...")
1018 start_test("Test attempt to use a program for a wrong device...")
1026 fail(ret == 0, "Pinned program loaded for a different device accepted")
1027 check_extack(err, "Program bound to different device.", args)
1031 fail(ret == 0, "Pinned program loaded for a removed device accepted")
1032 check_extack(err, "Program bound to different device.", args)
1053 check_extack_nsim(err, "TC program is already loaded.", args)
1072 fail(ret == 0, "Managed to attach XDP program to TC")
1111 start_test("Test loading program with maps...")
1240 start_test("Test multi-dev ASIC program reuse...")
1261 fail(ret == 0, "cross-ASIC program allowed")
1264 fail(ret == 0, "cross-ASIC program allowed")
1272 fail(ret == 0, "cross-ASIC program allowed")
1273 check_extack(err, "Program bound to different device.", args)
1277 fail(ret == 0, "cross-ASIC program allowed")
1278 check_extack(err, "Program bound to different device.", args)
1315 fail(ifnameB != simB1['ifname'], "program not bound to original device")
1322 "program not bound to remaining devices")
1326 fail(ifnameB != simB3['ifname'], "program not bound to remaining device")
1334 fail(ret != 0, "couldn't get information about orphaned program")