Searched refs:XDP_FLAGS_DRV_MODE (Results 1 – 7 of 7) sorted by relevance
89 __u32 mode_flags = XDP_FLAGS_DRV_MODE | XDP_FLAGS_SKB_MODE; in main()128 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
121 xdp_flags |= XDP_FLAGS_DRV_MODE; in main()
1041 xdp_flags |= XDP_FLAGS_DRV_MODE; in run_pkt_test()
58 err = bpf_get_link_xdp_id(IFINDEX_LO, &prog_id, XDP_FLAGS_DRV_MODE); in test_xdp_info()
970 #define XDP_FLAGS_DRV_MODE (1U << 2) macro974 XDP_FLAGS_DRV_MODE | \
372 flags &= (XDP_FLAGS_SKB_MODE | XDP_FLAGS_DRV_MODE | XDP_FLAGS_HW_MODE); in bpf_get_link_xdp_info()398 if (flags & XDP_FLAGS_DRV_MODE) in get_xdp_id()
550 flags |= XDP_FLAGS_DRV_MODE; in do_attach_detach_xdp()