Searched refs:XDP_FLAGS_SKB_MODE (Results 1 – 20 of 20) sorted by relevance
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_info.c | 23 err = bpf_get_link_xdp_id(IFINDEX_LO, &prog_id, XDP_FLAGS_SKB_MODE); in test_xdp_info() 40 err = bpf_set_link_xdp_fd(IFINDEX_LO, prog_fd, XDP_FLAGS_SKB_MODE); in test_xdp_info() 52 err = bpf_get_link_xdp_id(IFINDEX_LO, &prog_id, XDP_FLAGS_SKB_MODE); in test_xdp_info()
|
D | xdp_cpumap_attach.c | 31 err = bpf_set_link_xdp_fd(IFINDEX_LO, prog_fd, XDP_FLAGS_SKB_MODE); in test_xdp_with_cpumap_helpers() 52 err = bpf_set_link_xdp_fd(IFINDEX_LO, prog_fd, XDP_FLAGS_SKB_MODE); in test_xdp_with_cpumap_helpers()
|
D | xdp_devmap_attach.c | 33 err = bpf_set_link_xdp_fd(IFINDEX_LO, dm_fd, XDP_FLAGS_SKB_MODE); in test_xdp_with_devmap_helpers() 54 err = bpf_set_link_xdp_fd(IFINDEX_LO, dm_fd, XDP_FLAGS_SKB_MODE); in test_xdp_with_devmap_helpers()
|
/Linux-v5.10/samples/bpf/ |
D | xdp_fwd_user.c | 94 xdp_flags |= XDP_FLAGS_SKB_MODE; in main() 108 if (!(xdp_flags & XDP_FLAGS_SKB_MODE)) in main()
|
D | xdp1_user.c | 98 xdp_flags |= XDP_FLAGS_SKB_MODE; in main() 112 if (!(xdp_flags & XDP_FLAGS_SKB_MODE)) in main()
|
D | xdp_adjust_tail_user.c | 120 xdp_flags |= XDP_FLAGS_SKB_MODE; in main() 135 if (!(xdp_flags & XDP_FLAGS_SKB_MODE)) in main()
|
D | xdp_sample_pkts_user.c | 130 xdp_flags |= XDP_FLAGS_SKB_MODE; in main() 138 if (!(xdp_flags & XDP_FLAGS_SKB_MODE)) in main()
|
D | xdp_redirect_map_user.c | 116 xdp_flags |= XDP_FLAGS_SKB_MODE; in main() 130 if (!(xdp_flags & XDP_FLAGS_SKB_MODE)) in main()
|
D | xdp_redirect_user.c | 117 xdp_flags |= XDP_FLAGS_SKB_MODE; in main() 131 if (!(xdp_flags & XDP_FLAGS_SKB_MODE)) in main()
|
D | xdp_tx_iptunnel_user.c | 231 xdp_flags |= XDP_FLAGS_SKB_MODE; in main() 246 if (!(xdp_flags & XDP_FLAGS_SKB_MODE)) in main()
|
D | xdp_rxq_info_user.c | 522 xdp_flags |= XDP_FLAGS_SKB_MODE; in main() 548 if (!(xdp_flags & XDP_FLAGS_SKB_MODE)) in main()
|
D | xdp_router_ipv4_user.c | 650 flags |= XDP_FLAGS_SKB_MODE; in main() 665 if (!(flags & XDP_FLAGS_SKB_MODE)) in main()
|
D | xdpsock_user.c | 177 if (opt_xdp_flags & XDP_FLAGS_SKB_MODE) in print_benchmark() 992 opt_xdp_flags |= XDP_FLAGS_SKB_MODE; in parse_command_line() 1072 if (!(opt_xdp_flags & XDP_FLAGS_SKB_MODE)) in parse_command_line()
|
D | xdp_redirect_cpu_user.c | 862 xdp_flags |= XDP_FLAGS_SKB_MODE; in main() 915 if (!(xdp_flags & XDP_FLAGS_SKB_MODE)) in main()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | xdping.c | 89 __u32 mode_flags = XDP_FLAGS_DRV_MODE | XDP_FLAGS_SKB_MODE; in main() 135 xdp_flags |= XDP_FLAGS_SKB_MODE; in main()
|
/Linux-v5.10/tools/lib/bpf/ |
D | netlink.c | 300 flags &= (XDP_FLAGS_SKB_MODE | XDP_FLAGS_DRV_MODE | XDP_FLAGS_HW_MODE); in bpf_get_link_xdp_info() 334 if (flags & XDP_FLAGS_SKB_MODE) in get_xdp_id()
|
/Linux-v5.10/include/uapi/linux/ |
D | if_link.h | 1165 #define XDP_FLAGS_SKB_MODE (1U << 1) macro 1169 #define XDP_FLAGS_MODES (XDP_FLAGS_SKB_MODE | \
|
/Linux-v5.10/tools/include/uapi/linux/ |
D | if_link.h | 964 #define XDP_FLAGS_SKB_MODE (1U << 1) macro 968 #define XDP_FLAGS_MODES (XDP_FLAGS_SKB_MODE | \
|
/Linux-v5.10/tools/bpf/bpftool/ |
D | net.c | 549 flags |= XDP_FLAGS_SKB_MODE; in do_attach_detach_xdp()
|
/Linux-v5.10/net/core/ |
D | dev.c | 8886 if (flags & XDP_FLAGS_SKB_MODE) in dev_xdp_mode()
|