From: Vipul Pandya Date: Fri, 18 May 2012 09:59:32 +0000 (+0530) Subject: RDMA/cxgb4: Remove kfifo usage X-Git-Tag: v3.5-rc1~171^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec3eead217181d7360a11317a888ceb30807867c;p=pandora-kernel.git RDMA/cxgb4: Remove kfifo usage Using kfifos for ID management was limiting the number of QPs and preventing NP384 MPI jobs. So replace it with a simple bitmap allocator. Remove IDs from the IDR tables before deallocating them. This bug was causing the BUG_ON() in insert_handle() to fire because the ID was getting reused before being removed from the IDR table. Signed-off-by: Vipul Pandya Signed-off-by: Steve Wise Signed-off-by: Roland Dreier --- Reading git-diff-tree failed