diff options
author | 2020-02-18 17:10:22 +0000 | |
---|---|---|
committer | 2020-02-21 22:29:45 +0100 | |
commit | 11318ba8cafd59105637b2b82b8a32719e44a2d2 (patch) | |
tree | c563226648eec517924dd38d80970ffacd337992 /scripts/bpf_helpers_doc.py | |
parent | net: Generate reuseport group ID on group creation (diff) | |
download | linux-dev-11318ba8cafd59105637b2b82b8a32719e44a2d2.tar.xz linux-dev-11318ba8cafd59105637b2b82b8a32719e44a2d2.zip |
selftests/bpf: Extend SK_REUSEPORT tests to cover SOCKMAP/SOCKHASH
Parametrize the SK_REUSEPORT tests so that the map type for storing sockets
is not hard-coded in the test setup routine.
This, together with careful state cleaning after the tests, lets us run the
test cases for REUSEPORT_ARRAY, SOCKMAP, and SOCKHASH to have test coverage
for all supported map types. The last two support only TCP sockets at the
moment.
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200218171023.844439-11-jakub@cloudflare.com
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions