From: Cong Wang <xiyou.wangc...@gmail.com> Date: Mon, 25 Sep 2017 10:13:51 -0700
> 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 <chr...@mellanox.com> > Cc: Jamal Hadi Salim <j...@mojatatu.com> > Signed-off-by: Cong Wang <xiyou.wangc...@gmail.com> Applied.