diff options
author | John Fastabend <john.fastabend@gmail.com> | 2017-08-28 07:12:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-28 11:13:22 -0700 |
commit | 08848246639218ae58acdf3321bc7b693062f31c (patch) | |
tree | 6cb85b33cdf900fbafc5894ecd16718b49c2b16d /block | |
parent | 78aeaaef997db7096a17d0d3572a7940ffa5c9a0 (diff) | |
download | op-kernel-dev-08848246639218ae58acdf3321bc7b693062f31c.zip op-kernel-dev-08848246639218ae58acdf3321bc7b693062f31c.tar.gz |
bpf: sockmap requires STREAM_PARSER add Kconfig entry
SOCKMAP uses strparser code (compiled with Kconfig option
CONFIG_STREAM_PARSER) to run the parser BPF program. Without this
config option set sockmap wont be compiled. However, at the moment
the only way to pull in the strparser code is to enable KCM.
To resolve this create a BPF specific config option to pull
only the strparser piece in that sockmap needs. This also
allows folks who want to use BPF/syscall/maps but don't need
sockmap to easily opt out.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions