Searched refs:XDP_FLAGS_DRV_MODE (Results 1 – 16 of 16) sorted by relevance
89 __u32 mode_flags = XDP_FLAGS_DRV_MODE | XDP_FLAGS_SKB_MODE; in main()127 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
117 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
364 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()
58 err = bpf_xdp_query_id(IFINDEX_LO, XDP_FLAGS_DRV_MODE, &prog_id); in serial_test_xdp_info()
109 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
132 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
135 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
153 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
243 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
558 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
1296 xdp_flags |= generic ? XDP_FLAGS_SKB_MODE : XDP_FLAGS_DRV_MODE; in sample_install_xdp()
1188 #define XDP_FLAGS_DRV_MODE (1U << 2) macro1192 XDP_FLAGS_DRV_MODE | \
1285 #define XDP_FLAGS_DRV_MODE (1U << 2) macro1289 XDP_FLAGS_DRV_MODE | \
378 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()
550 flags |= XDP_FLAGS_DRV_MODE; in do_attach_detach_xdp()
9023 if (flags & XDP_FLAGS_DRV_MODE) in dev_xdp_mode()