Searched refs:dm_fd (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_devmap_attach.c | 24 int err, dm_fd, dm_fd_redir, map_fd; in test_xdp_with_devmap_helpers() local 44 dm_fd = bpf_program__fd(skel->progs.xdp_dummy_dm); in test_xdp_with_devmap_helpers() 46 err = bpf_prog_get_info_by_fd(dm_fd, &info, &len); in test_xdp_with_devmap_helpers() 50 val.bpf_prog.fd = dm_fd; in test_xdp_with_devmap_helpers() 75 err = bpf_xdp_attach(IFINDEX_LO, dm_fd, XDP_FLAGS_SKB_MODE, NULL); in test_xdp_with_devmap_helpers() 160 int err, dm_fd, dm_fd_redir, map_fd, ifindex_dst; in test_xdp_with_devmap_helpers_veth() local 188 dm_fd = bpf_program__fd(skel->progs.xdp_dummy_dm); in test_xdp_with_devmap_helpers_veth() 190 err = bpf_prog_get_info_by_fd(dm_fd, &info, &len); in test_xdp_with_devmap_helpers_veth() 194 val.bpf_prog.fd = dm_fd; in test_xdp_with_devmap_helpers_veth() 203 dm_fd = bpf_program__fd(skel->progs.xdp_dummy_prog); in test_xdp_with_devmap_helpers_veth() [all …]
|