On Tue, Aug 6, 2019 at 7:25 PM Daniel T. Lee <danieltim...@gmail.com> wrote: > > By this commit, using `bpftool net attach`, user can attach XDP prog on > interface. New type of enum 'net_attach_type' has been made, as stated at > cover-letter, the meaning of 'attach' is, prog will be attached on interface. > > With 'overwrite' option at argument, attached XDP program could be replaced. > Added new helper 'net_parse_dev' to parse the network device at argument. > > BPF prog will be attached through libbpf 'bpf_set_link_xdp_fd'. > > Signed-off-by: Daniel T. Lee <danieltim...@gmail.com>
Acked-by: Yonghong Song <y...@fb.com>