]> git.baikalelectronics.ru Git - kernel.git/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)
commit9d6af3ad83e312171190d7c7165ecc831675d347
treeb652c2f4385b53f68ec91274f0546f8ec732fc69
parent87992349f739be4ae89a97b664fffc3ed7cf1663
[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