Use libbpf api bpf_set_link_xdp_fd() to attach xdp program to an interface.
Attach a file by drag & drop or click to upload