RDS: IB: Initialize max_items based on underlying device attributes
authorAvinash Repaka <avinash.repaka@oracle.com>
Wed, 4 Oct 2017 19:11:29 +0000 (12:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Oct 2017 04:16:33 +0000 (21:16 -0700)
commitb1fb67fa501c4787035317f84db6caf013385581
tree5556ac4510f259b602bd2fe48394e47e7db20e29
parent9dff9936f0ccfffba5106ee4217c71c7bcf95143
RDS: IB: Initialize max_items based on underlying device attributes

Use max_1m_mrs/max_8k_mrs while setting max_items, as the former
variables are set based on the underlying device attributes.

Signed-off-by: Avinash Repaka <avinash.repaka@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_rdma.c