Re: [v5,0/4] tools: bpftool: add net attach/detach command to attach XDP prog

2019-08-15 Thread Alexei Starovoitov
On Tue, Aug 13, 2019 at 2:43 PM Jakub Kicinski wrote: > > On Tue, 13 Aug 2019 11:46:17 +0900, Daniel T. Lee wrote: > > Currently, bpftool net only supports dumping progs attached on the > > interface. To attach XDP prog on interface, user must use other tool > > (eg. iproute2). By this patch, with

Re: [v5,0/4] tools: bpftool: add net attach/detach command to attach XDP prog

2019-08-14 Thread Daniel T. Lee
On Wed, Aug 14, 2019 at 6:43 AM Jakub Kicinski wrote: > > On Tue, 13 Aug 2019 11:46:17 +0900, Daniel T. Lee wrote: > > Currently, bpftool net only supports dumping progs attached on the > > interface. To attach XDP prog on interface, user must use other tool > > (eg. iproute2). By this patch, with

Re: [v5,0/4] tools: bpftool: add net attach/detach command to attach XDP prog

2019-08-13 Thread Jakub Kicinski
On Tue, 13 Aug 2019 11:46:17 +0900, Daniel T. Lee wrote: > Currently, bpftool net only supports dumping progs attached on the > interface. To attach XDP prog on interface, user must use other tool > (eg. iproute2). By this patch, with `bpftool net attach/detach`, user > can attach/detach XDP prog o

[v5,0/4] tools: bpftool: add net attach/detach command to attach XDP prog

2019-08-12 Thread Daniel T. Lee
Currently, bpftool net only supports dumping progs attached on the interface. To attach XDP prog on interface, user must use other tool (eg. iproute2). By this patch, with `bpftool net attach/detach`, user can attach/detach XDP prog on interface. # bpftool prog 16: xdp name xdp_prog1