test_rhashtable: add test case for rhl_table interface
authorFlorian Westphal <fw@strlen.de>
Tue, 19 Sep 2017 23:12:14 +0000 (01:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Sep 2017 23:15:47 +0000 (16:15 -0700)
commitcdd4de372ea06a18e104100b9f2c442527d26db1
tree80c6c1c91a9d018f36149a2f738867024280bba0
parenta6359bd8dd1c3a15c09e7dbb533bf89d13b42acd
test_rhashtable: add test case for rhl_table interface

also test rhltable.  rhltable remove operations are slow as
deletions require a list walk, thus test with 1/16th of the given
entry count number to get a run duration similar to rhashtable one.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/test_rhashtable.c