]> err.no Git - linux-2.6/commit
[PATCH] IB/mthca: fix calculation of RDB shift
authorRoland Dreier <roland@topspin.com>
Sat, 16 Apr 2005 22:26:15 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:26:15 +0000 (15:26 -0700)
commit17ead2f5cc81c4658e7b495014c2c6856a6f6b88
tree00ee9237785dd5c552dfc7d20460d8d6e3bc940e
parent8cf2daf3feae982db9804df3d4b8ec20fa7d6d41
[PATCH] IB/mthca: fix calculation of RDB shift

Fix calculation of rdb_shift by using original number of QPs, not
their slot in profile[] (which will be rearranged when we sort it).

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/hw/mthca/mthca_profile.c