Re: [PATCH] tc, bpf: add option to dump bpf verifier as C program fragment

2018-06-20 Thread Stephen Hemminger
On Wed, 20 Jun 2018 00:13:52 +0200 Daniel Borkmann wrote: > On 06/18/2018 11:44 PM, David Ahern wrote: > > On 6/18/18 2:18 PM, Jakub Kicinski wrote: > >> On Sun, 17 Jun 2018 08:48:41 +, Ophir Munk wrote: > >>> Similar to cbpf used within tcpdump utility with a "-d" option to dump > >>> th

Re: [PATCH] tc, bpf: add option to dump bpf verifier as C program fragment

2018-06-19 Thread Daniel Borkmann
On 06/18/2018 11:44 PM, David Ahern wrote: > On 6/18/18 2:18 PM, Jakub Kicinski wrote: >> On Sun, 17 Jun 2018 08:48:41 +, Ophir Munk wrote: >>> Similar to cbpf used within tcpdump utility with a "-d" option to dump >>> the compiled packet-matching code in a human readable form - tc has the >>>

Re: [PATCH] tc, bpf: add option to dump bpf verifier as C program fragment

2018-06-18 Thread David Ahern
On 6/18/18 2:18 PM, Jakub Kicinski wrote: > On Sun, 17 Jun 2018 08:48:41 +, Ophir Munk wrote: >> Similar to cbpf used within tcpdump utility with a "-d" option to dump >> the compiled packet-matching code in a human readable form - tc has the >> "verbose" option to dump ebpf verifier output. >>

Re: [PATCH] tc, bpf: add option to dump bpf verifier as C program fragment

2018-06-18 Thread Jakub Kicinski
On Sun, 17 Jun 2018 08:48:41 +, Ophir Munk wrote: > Similar to cbpf used within tcpdump utility with a "-d" option to dump > the compiled packet-matching code in a human readable form - tc has the > "verbose" option to dump ebpf verifier output. > Another useful option of cbpf using tcpdump "-d

[PATCH] tc, bpf: add option to dump bpf verifier as C program fragment

2018-06-17 Thread Ophir Munk
Similar to cbpf used within tcpdump utility with a "-d" option to dump the compiled packet-matching code in a human readable form - tc has the "verbose" option to dump ebpf verifier output. Another useful option of cbpf using tcpdump "-dd" option is to dump packet-matching code a C program fragment