Mike Marciniszyn 2a600f14d2 IB/qib: RDMA lkey/rkey validation is inefficient for large MRs
The current code loops during rkey/lkey validiation to isolate the MR
for the RDMA, which is expensive when the current operation is inside
a very large memory region.

This fix optimizes rkey/lkey validation routines for user memory
regions and fast memory regions.  The MR entry can be isolated by
shifts/mods instead of looping.  The existing loop is preserved for
phys memory regions for now.

Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2011-01-10 17:42:22 -08:00
..
2010-12-10 12:27:49 -08:00
2010-12-08 19:52:54 +01:00
2011-01-02 15:31:11 -08:00
2010-12-02 01:19:32 -05:00
2010-12-22 19:43:34 -08:00
2010-12-02 14:51:15 -08:00
2010-12-24 01:28:54 -07:00
2010-12-04 11:18:25 -05:00
2010-12-22 19:43:34 -08:00