IB/srp: try to use larger FMR sizes to cover our mappings
authorDavid Dillow <dillowda@ornl.gov>
Wed, 19 Jan 2011 02:58:09 +0000 (21:58 -0500)
committerDavid Dillow <dillowda@ornl.gov>
Tue, 15 Mar 2011 23:41:30 +0000 (19:41 -0400)
commitbe8b981453a4904399cb090c1660618e250092d8
tree74def65115c67e7713fb5ca0a90d50b581abaa73
parentc07d424d6118d528ef71b22b7424bfc359c307a5
IB/srp: try to use larger FMR sizes to cover our mappings

Now that we can get larger SG lists, we can take advantage of HCAs that
allow us to use larger FMR sizes. In many cases, we can use up to 512
entries, so start there and work our way down.

Signed-off-by: David Dillow <dillowda@ornl.gov>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h