Re: [v4,1/4] tools: bpftool: add net attach command to attach XDP on interface

2019-08-12 Thread Daniel T. Lee
On Mon, Aug 12, 2019 at 9:27 AM Y Song wrote: > > On Fri, Aug 9, 2019 at 6:35 AM Daniel T. Lee 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 'att

Re: [v4,1/4] tools: bpftool: add net attach command to attach XDP on interface

2019-08-11 Thread Y Song
On Fri, Aug 9, 2019 at 6:35 AM Daniel T. Lee 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 'over

[v4,1/4] tools: bpftool: add net attach command to attach XDP on interface

2019-08-09 Thread Daniel T. Lee
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 replace