Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
A Dxdp_link.c23 prog_fd1 = bpf_program__fd(skel1->progs.xdp_handler); in serial_test_xdp_link()
28 prog_fd2 = bpf_program__fd(skel2->progs.xdp_handler); in serial_test_xdp_link()
53 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
69 link = bpf_program__attach_xdp(skel1->progs.xdp_handler, IFINDEX_LO); in serial_test_xdp_link()
72 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/tools/testing/selftests/bpf/progs/
A Dtest_xdp_link.c9 int xdp_handler(struct xdp_md *xdp) in xdp_handler() function

Completed in 3 milliseconds