]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: test_maps add sockmap stress test
authorJohn Fastabend <john.fastabend@gmail.com>
Mon, 28 Aug 2017 14:12:41 +0000 (07:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 18:13:22 +0000 (11:13 -0700)
commit15edf0170209b377d4ca58491dee12e52b3ba9ff
treeac84f615484f1685127b0b717187e222f31d076e
parent0201d2145297b58f9a571c14a1f3ee6889ac8ad8
bpf: test_maps add sockmap stress test

Sockmap is a bit different than normal stress tests that can run
in parallel as is. We need to reuse the same socket pool and map
pool to get good stress test cases.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/test_maps.c