]> 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)
commit28c6d33ee43ef7a9ab69f1f1949967a5d8112acf
treeac84f615484f1685127b0b717187e222f31d076e
parent46c2d4f220bf78da40b2b4ed838ccb776311b9c3
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