Re: [libbpf] Questions about XDP/TC
1. How do I attach `BPF_PROG_TYPE_SCHED_CLS`/`classifier` BPF programs to specific data path(i.e. ingress or egress) using libbpf ?libbpf does not yet support attaching to TC hooks, but there is work in
progress to add this. See
(an updated version should hopefully show up soon).
I found some comments related in the source:Just set XDP_FLAGS_SKB_MODE or XDP_FLAGS_DRV_MODE when attaching...