RDS: IB: use max_mr from HCA caps than max_fmr
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Sat, 19 Sep 2015 17:06:08 +0000 (13:06 -0400)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 5 Oct 2015 18:19:02 +0000 (11:19 -0700)
commit41a4e9646229801624e38f7a1cc53033a0affdb1
treefca8012e32d2215b5202274842a4fe15dad20806
parent67161e250a28de5cdafa99a3b659b1e2e269fd7e
RDS: IB: use max_mr from HCA caps than max_fmr

All HCA drivers seems to popullate max_mr caps and few of
them do both max_mr and max_fmr.

Hence update RDS code to make use of max_mr.

Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib.c