Re: [PATCH bpf-next v3 0/7] bpf/flow_dissector: support input flags

2019-07-25 Thread Alexei Starovoitov
On Thu, Jul 25, 2019 at 3:52 PM Stanislav Fomichev wrote: > > C flow dissector supports input flags that tell it to customize parsing > by either stopping early or trying to parse as deep as possible. > BPF flow dissector always parses as deep as possible which is sub-optimal. > Pass input flags t

[PATCH bpf-next v3 0/7] bpf/flow_dissector: support input flags

2019-07-25 Thread Stanislav Fomichev
C flow dissector supports input flags that tell it to customize parsing by either stopping early or trying to parse as deep as possible. BPF flow dissector always parses as deep as possible which is sub-optimal. Pass input flags to the BPF flow dissector as well so it can make the same decisions.