Home
last modified time | relevance | path

Searched refs:xdp_handler (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dxdp_link.c24 prog_fd1 = bpf_program__fd(skel1->progs.xdp_handler); in serial_test_xdp_link()
29 prog_fd2 = bpf_program__fd(skel2->progs.xdp_handler); in serial_test_xdp_link()
54 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
70 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
73 skel1->links.xdp_handler = link; in serial_test_xdp_link()
97 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
103 bpf_link__destroy(skel1->links.xdp_handler); in serial_test_xdp_link()
104 skel1->links.xdp_handler = NULL; in serial_test_xdp_link()
107 link = bpf_program__attach_xdp(skel2->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
110 skel2->links.xdp_handler = link; in serial_test_xdp_link()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_xdp_link.c9 int xdp_handler(struct xdp_md *xdp) in xdp_handler() function