Lines Matching full:program
28 if (!ASSERT_OK(err, "Generic attach of program with 8-byte CPUMAP")) in test_xdp_with_cpumap_helpers()
32 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_cpumap_helpers()
42 ASSERT_OK(err, "Add program to cpumap entry"); in test_xdp_with_cpumap_helpers()
46 ASSERT_EQ(info.id, val.bpf_prog.id, "Match program id to cpumap entry prog_id"); in test_xdp_with_cpumap_helpers()
48 /* can not attach BPF_XDP_CPUMAP program to a device */ in test_xdp_with_cpumap_helpers()
50 if (!ASSERT_NEQ(err, 0, "Attach of BPF_XDP_CPUMAP program")) in test_xdp_with_cpumap_helpers()
56 ASSERT_NEQ(err, 0, "Add non-BPF_XDP_CPUMAP program to cpumap entry"); in test_xdp_with_cpumap_helpers()
58 /* Try to attach BPF_XDP program with frags to cpumap when we have in test_xdp_with_cpumap_helpers()
59 * already loaded a BPF_XDP program on the map in test_xdp_with_cpumap_helpers()
65 ASSERT_NEQ(err, 0, "Add BPF_XDP program with frags to cpumap entry"); in test_xdp_with_cpumap_helpers()
94 ASSERT_OK(err, "Add program to cpumap entry"); in test_xdp_with_cpumap_frags_helpers()
99 "Match program id to cpumap entry prog_id"); in test_xdp_with_cpumap_frags_helpers()
101 /* Try to attach BPF_XDP program to cpumap when we have in test_xdp_with_cpumap_frags_helpers()
102 * already loaded a BPF_XDP program with frags on the map in test_xdp_with_cpumap_frags_helpers()
108 ASSERT_NEQ(err, 0, "Add BPF_XDP program to cpumap entry"); in test_xdp_with_cpumap_frags_helpers()