Re: [PATCH bpf-next 4/4] tools/bpf: bpftool: add net support

2018-09-12 Thread Yonghong Song
On 9/12/18 3:40 PM, Daniel Borkmann wrote: On 09/13/2018 12:29 AM, Daniel Borkmann wrote: On 09/06/2018 01:58 AM, Yonghong Song wrote: Add "bpftool net" support. Networking devices are enumerated to dump device index/name associated with xdp progs. For each networking device, tc classes and

Re: [PATCH bpf-next 4/4] tools/bpf: bpftool: add net support

2018-09-12 Thread Yonghong Song
On 9/12/18 3:29 PM, Daniel Borkmann wrote: On 09/06/2018 01:58 AM, Yonghong Song wrote: Add "bpftool net" support. Networking devices are enumerated to dump device index/name associated with xdp progs. For each networking device, tc classes and qdiscs are enumerated in order to check their b

Re: [PATCH bpf-next 4/4] tools/bpf: bpftool: add net support

2018-09-12 Thread Daniel Borkmann
On 09/13/2018 12:29 AM, Daniel Borkmann wrote: > On 09/06/2018 01:58 AM, Yonghong Song wrote: >> Add "bpftool net" support. Networking devices are enumerated >> to dump device index/name associated with xdp progs. >> >> For each networking device, tc classes and qdiscs are enumerated >> in order to

Re: [PATCH bpf-next 4/4] tools/bpf: bpftool: add net support

2018-09-12 Thread Daniel Borkmann
On 09/06/2018 01:58 AM, Yonghong Song wrote: > Add "bpftool net" support. Networking devices are enumerated > to dump device index/name associated with xdp progs. > > For each networking device, tc classes and qdiscs are enumerated > in order to check their bpf filters. > In addition, root handle

[PATCH bpf-next 4/4] tools/bpf: bpftool: add net support

2018-09-05 Thread Yonghong Song
Add "bpftool net" support. Networking devices are enumerated to dump device index/name associated with xdp progs. For each networking device, tc classes and qdiscs are enumerated in order to check their bpf filters. In addition, root handle and clsact ingress/egress are also checked for bpf filter

[RFC PATCH bpf-next 4/4] tools/bpf: bpftool: add net support

2018-09-03 Thread Yonghong Song
Add "bpftool net" support. Networking devices are enumerated to dump all xdp information. Also, for each networking device, tc classes and qdiscs are enumerated in order to check bpf filters with these classes and qdiscs. In addition, root handle and clsact ingress/egress are also checked for bpf f