Home
last modified time | relevance | path

Searched refs:XDP_FLAGS_DRV_MODE (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/
Dxdping.c89 __u32 mode_flags = XDP_FLAGS_DRV_MODE | XDP_FLAGS_SKB_MODE; in main()
127 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
Dxdp_redirect_multi.c117 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
Dxskxceiver.c364 ifobject->xdp_flags |= XDP_FLAGS_DRV_MODE; in ifobj_zc_avail()
545 ifobj->xdp_flags |= XDP_FLAGS_DRV_MODE; in test_spec_init()
1327 } else if (ifobject->xdp_flags & XDP_FLAGS_DRV_MODE) { in thread_common_ops()
1867 int flags = XDP_FLAGS_DRV_MODE; in is_xdp_supported()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dxdp_info.c58 err = bpf_xdp_query_id(IFINDEX_LO, XDP_FLAGS_DRV_MODE, &prog_id); in serial_test_xdp_info()
/linux-6.1.9/samples/bpf/
Dxdp1_user.c109 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
Dxdp_adjust_tail_user.c132 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
Dxdp_sample_pkts_user.c135 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
Dxdp_fwd_user.c153 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
Dxdp_tx_iptunnel_user.c243 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
Dxdp_rxq_info_user.c558 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
Dxdp_sample_user.c1296 xdp_flags |= generic ? XDP_FLAGS_SKB_MODE : XDP_FLAGS_DRV_MODE; in sample_install_xdp()
/linux-6.1.9/tools/include/uapi/linux/
Dif_link.h1188 #define XDP_FLAGS_DRV_MODE (1U << 2) macro
1192 XDP_FLAGS_DRV_MODE | \
/linux-6.1.9/include/uapi/linux/
Dif_link.h1285 #define XDP_FLAGS_DRV_MODE (1U << 2) macro
1289 XDP_FLAGS_DRV_MODE | \
/linux-6.1.9/tools/lib/bpf/
Dnetlink.c378 xdp_flags &= XDP_FLAGS_SKB_MODE | XDP_FLAGS_DRV_MODE | XDP_FLAGS_HW_MODE; in bpf_xdp_query()
412 else if (flags & XDP_FLAGS_DRV_MODE) in bpf_xdp_query_id()
/linux-6.1.9/tools/bpf/bpftool/
Dnet.c550 flags |= XDP_FLAGS_DRV_MODE; in do_attach_detach_xdp()
/linux-6.1.9/net/core/
Ddev.c9023 if (flags & XDP_FLAGS_DRV_MODE) in dev_xdp_mode()