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

2019-07-24 Thread Willem de Bruijn
On Wed, Jul 24, 2019 at 1:11 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 0/7] bpf/flow_dissector: support input flags

2019-07-24 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.