diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-10-11 18:09:45 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-10-11 18:09:45 -0700 |
commit | 376dcfe3a4e5a5475a84e6b5f926066a8614f887 (patch) | |
tree | 6f02632346e8d59489cb9d81c9f3fa44b1ca4480 /block/kyber-iosched.c | |
parent | 20a6d91518c4163cb25f4387036383c145661b1b (diff) | |
parent | a24fb420a5775581050026eba2264c87927debf7 (diff) | |
download | linux-stable-376dcfe3a4e5a5475a84e6b5f926066a8614f887.tar.gz linux-stable-376dcfe3a4e5a5475a84e6b5f926066a8614f887.tar.bz2 linux-stable-376dcfe3a4e5a5475a84e6b5f926066a8614f887.zip |
Merge branch 'bpf, sockmap: allow verdict only sk_skb progs'
John Fastabend says:
====================
This allows a sockmap sk_skb verdict programs to run without a parser. For
some use cases, such as verdict program that support streaming data or a
l3/l4 proxy that does not use data in packet, loading the nop parser
'return skb->len' is an extra unnecessary complexity. With this series we
simply call the verdict program directly from data_ready instead of
bouncing through the strparser logic.
Patches 1,2 do the lifting on the sockmap side then patches 3,4 add the
selftests.
This applies on top of the series here,
sockmap/sk_skb program memory acct fixes
https://patchwork.ozlabs.org/project/netdev/list/?series=206975
it will apply without the above series cleanly, but will have an incorrect
memory accounting causing a failure in ./test_sockmap. I could have left
it so the series passed without above series, but it seemed odd to have
it out there and then require yet another patch to fix it up here.
Thanks.
---
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'block/kyber-iosched.c')
0 files changed, 0 insertions, 0 deletions