Searched refs:BPF_F_XDP_DEV_BOUND_ONLY (Results 1 - 8 of 8) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_dev_bound_only.c20 * - create a device bound XDP program with BPF_F_XDP_DEV_BOUND_ONLY flag
42 fd1 = load_dummy_prog("dummy1", ifindex, BPF_F_XDP_DEV_BOUND_ONLY);
H A Dxdp_metadata.c422 bpf_program__set_flags(prog, BPF_F_XDP_DEV_BOUND_ONLY);
/linux-master/kernel/bpf/
H A Doffload.c237 if (attr->prog_flags & ~(BPF_F_XDP_DEV_BOUND_ONLY | BPF_F_XDP_HAS_FRAGS))
244 !(attr->prog_flags & BPF_F_XDP_DEV_BOUND_ONLY))
248 attr->prog_flags & BPF_F_XDP_DEV_BOUND_ONLY)
259 prog->aux->offload_requested = !(attr->prog_flags & BPF_F_XDP_DEV_BOUND_ONLY);
H A Dsyscall.c2702 BPF_F_XDP_DEV_BOUND_ONLY |
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c708 bpf_program__set_flags(prog, BPF_F_XDP_DEV_BOUND_ONLY);
/linux-master/include/uapi/linux/
H A Dbpf.h1261 /* If BPF_F_XDP_DEV_BOUND_ONLY is used in BPF_PROG_LOAD command, the loaded
1264 #define BPF_F_XDP_DEV_BOUND_ONLY (1U << 6) macro
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1261 /* If BPF_F_XDP_DEV_BOUND_ONLY is used in BPF_PROG_LOAD command, the loaded
1264 #define BPF_F_XDP_DEV_BOUND_ONLY (1U << 6) macro
/linux-master/tools/bpf/bpftool/
H A Dprog.c1709 bpf_program__set_flags(pos, BPF_F_XDP_DEV_BOUND_ONLY);

Completed in 217 milliseconds