diff options
author | Jakub Sitnicki <jakub@cloudflare.com> | 2020-02-18 20:10:22 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-02-22 00:29:45 +0300 |
commit | 11318ba8cafd59105637b2b82b8a32719e44a2d2 (patch) | |
tree | c563226648eec517924dd38d80970ffacd337992 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 035ff358f2d9e2f5e1639ba4defe4dc40ac642dd (diff) | |
download | linux-11318ba8cafd59105637b2b82b8a32719e44a2d2.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions