Lines Matching full:program

41 	if (!ASSERT_OK(err, "Generic attach of program with 8-byte devmap"))  in test_xdp_with_devmap_helpers()
52 ASSERT_OK(err, "Add program to devmap entry"); in test_xdp_with_devmap_helpers()
56 ASSERT_EQ(info.id, val.bpf_prog.id, "Match program id to devmap entry prog_id"); in test_xdp_with_devmap_helpers()
72 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_devmap_helpers()
74 /* can not attach BPF_XDP_DEVMAP program to a device */ in test_xdp_with_devmap_helpers()
76 if (!ASSERT_NEQ(err, 0, "Attach of BPF_XDP_DEVMAP program")) in test_xdp_with_devmap_helpers()
82 ASSERT_NEQ(err, 0, "Add non-BPF_XDP_DEVMAP program to devmap entry"); in test_xdp_with_devmap_helpers()
84 /* Try to attach BPF_XDP program with frags to devmap when we have in test_xdp_with_devmap_helpers()
85 * already loaded a BPF_XDP program on the map in test_xdp_with_devmap_helpers()
91 ASSERT_NEQ(err, 0, "Add BPF_XDP program with frags to devmap entry"); in test_xdp_with_devmap_helpers()
105 "Load of XDP program accessing egress ifindex without attach type")) { in test_neg_xdp_devmap_helpers()
133 ASSERT_OK(err, "Add frags program to devmap entry"); in test_xdp_with_devmap_frags_helpers()
138 "Match program id to devmap entry prog_id"); in test_xdp_with_devmap_frags_helpers()
140 /* Try to attach BPF_XDP program to devmap when we have in test_xdp_with_devmap_frags_helpers()
141 * already loaded a BPF_XDP program with frags on the map in test_xdp_with_devmap_frags_helpers()
147 ASSERT_NEQ(err, 0, "Add BPF_XDP program to devmap entry"); in test_xdp_with_devmap_frags_helpers()
185 if (!ASSERT_OK(err, "Attach of program with 8-byte devmap")) in test_xdp_with_devmap_helpers_veth()
196 ASSERT_OK(err, "Add program to devmap entry"); in test_xdp_with_devmap_helpers_veth()
200 ASSERT_EQ(info.id, val.bpf_prog.id, "Match program id to devmap entry prog_id"); in test_xdp_with_devmap_helpers_veth()
222 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_devmap_helpers_veth()
225 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_devmap_helpers_veth()