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
200 …raise Exception("Time out waiting for program counts to stabilize want %d, have %d" % (expected, n…
466 …raise Exception("Time out waiting for program counts to stabilize want %d/%d, have %d bound, %d lo…
498 "XDP program not reporting in iplink (reported %s, expected %s)" %
648 fail(dev != m["dev"], "Map's device different than program's")
673 fail("prog" in two_xdps, "Base program reported in multi program mode")
675 "Wrong attached program count with two programs")
697 fail("prog" not in xdp, "Base program not reported in single program mode")
699 "Wrong attached program count with one program")
705 "Offload program not reported after other activated")
710 "Offload ID changed after loading other program")
715 check_extack(err, "XDP program already attached.", args)
720 fail(ret == 0, "Removed program without a mode flag")
721 check_extack(err, "More than one program loaded, unset mode is ambiguous.", args)
729 "Base program not reported after multi program mode")
731 "Offload program not reported after other activated")
733 "Wrong attached program count with remaining programs")
734 fail(offloaded != "0", "Offload ID reported with only other program left")
741 "Other program not reported after offload activated")
941 fail(str(prog["id"]) != fltr["id"], "Program IDs don't match")
942 fail(prog["tag"] != fltr["tag"], "Program tags don't match")
943 fail(fltr["id"] != dprog["id"], "Program IDs don't match")
944 fail(dprog["state"] != "xlated", "Offloaded program state not translated")
945 fail(dprog["loaded"] != "Y", "Offloaded program is not loaded")
986 "Loaded program has wrong ID")
990 fail(ret == 0, "Replaced XDP program without -force")
995 fail(ret != 0, "Could not replace XDP program with -force")
1000 "Loaded program has wrong ID")
1002 "Device parameters reported for non-offloaded program")
1007 fail(ret == 0, "Replaced XDP program with a program in different mode")
1020 fail(ret == 0, "Driver should refuse to load program with MTU of 9000...")
1030 fail(ret == 0, "attached non-offloaded XDP program to HW")
1031 check_extack_nsim(err, "xdpoffload of non-bound program.", args)
1039 fail(ret == 0, "attached offloaded XDP program to drv")
1040 check_extack(err, "Using device-bound program without HW_MODE flag is not supported.", args)
1059 fail(link_xdp["id"] != prog["id"], "Loaded program has wrong ID")
1065 fail(prog["id"] != link_xdp["id"], "Program IDs don't match")
1066 fail(prog["tag"] != link_xdp["tag"], "Program tags don't match")
1067 fail(str(link_xdp["id"]) != dprog["id"], "Program IDs don't match")
1068 fail(dprog["state"] != "xlated", "Offloaded program state not translated")
1069 fail(dprog["loaded"] != "Y", "Offloaded program is not loaded")
1071 start_test("Test removing XDP program many times...")
1080 start_test("Test attempt to use a program for a wrong device...")
1088 fail(ret == 0, "Pinned program loaded for a different device accepted")
1089 check_extack_nsim(err, "program bound to different dev.", args)
1093 fail(ret == 0, "Pinned program loaded for a removed device accepted")
1094 check_extack_nsim(err, "xdpoffload of non-bound program.", args)
1115 check_extack_nsim(err, "TC program is already loaded.", args)
1134 fail(ret == 0, "Managed to attach XDP program to TC")
1173 start_test("Test loading program with maps...")
1302 start_test("Test multi-dev ASIC program reuse...")
1323 fail(ret == 0, "cross-ASIC program allowed")
1326 fail(ret == 0, "cross-ASIC program allowed")
1334 fail(ret == 0, "cross-ASIC program allowed")
1335 check_extack_nsim(err, "program bound to different dev.", args)
1339 fail(ret == 0, "cross-ASIC program allowed")
1340 check_extack_nsim(err, "program bound to different dev.", args)
1377 fail(ifnameB != simB1['ifname'], "program not bound to original device")
1384 "program not bound to remaining devices")
1388 fail(ifnameB != simB3['ifname'], "program not bound to remaining device")
1396 fail(ret == 0, "got information about orphaned program")