summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/rtnetlink.sh
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2017-09-25 20:13:51 +0300
committerDavid S. Miller <davem@davemloft.net>2017-09-28 19:43:41 +0300
commite7614370d6f04711c4e4b48f7055e5008fa4ed42 (patch)
tree756a9810028ce2c9992024883bc6fad21ebe29d9 /tools/testing/selftests/net/rtnetlink.sh
parent1d8134fea2eb460698a281f91c03c400f7e546ce (diff)
downloadlinux-e7614370d6f04711c4e4b48f7055e5008fa4ed42.tar.xz
net_sched: use idr to allocate u32 filter handles
Instead of calling u32_lookup_ht() in a loop to find a unused handle, just switch to idr API to allocate new handles. u32 filters are special as the handle could contain a hash table id and a key id, so we need two IDR to allocate each of them. Cc: Chris Mi <chrism@mellanox.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/rtnetlink.sh')
0 files changed, 0 insertions, 0 deletions