OSDN Git Service

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)
commit3f0d6a16989da252d4014c3fb7334369c891f91e
treeac84f615484f1685127b0b717187e222f31d076e
parent08848246639218ae58acdf3321bc7b693062f31c
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