diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2005-11-04 16:03:32 -0800 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-11-04 21:28:21 -0800 |
commit | 0f69ce1e4474e5d5e266457e8a1f4166cf71f6c7 (patch) | |
tree | ea857a2670e77bd8e8e8538f42504bcaa1a515d5 /drivers/infiniband/hw/mthca/mthca_provider.c | |
parent | 7015faa7df829876a0f931cd18aa6d7c24a1b581 (diff) | |
download | talos-obmc-linux-0f69ce1e4474e5d5e266457e8a1f4166cf71f6c7.tar.gz talos-obmc-linux-0f69ce1e4474e5d5e266457e8a1f4166cf71f6c7.zip |
[IB] mthca: report page size capability
Report the device's real page size capability in mthca_query_device().
Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_provider.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_provider.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_provider.c b/drivers/infiniband/hw/mthca/mthca_provider.c index 6b0166668269..e78259b2664b 100644 --- a/drivers/infiniband/hw/mthca/mthca_provider.c +++ b/drivers/infiniband/hw/mthca/mthca_provider.c @@ -90,6 +90,7 @@ static int mthca_query_device(struct ib_device *ibdev, memcpy(&props->node_guid, out_mad->data + 12, 8); props->max_mr_size = ~0ull; + props->page_size_cap = mdev->limits.page_size_cap; props->max_qp = mdev->limits.num_qps - mdev->limits.reserved_qps; props->max_qp_wr = mdev->limits.max_wqes; props->max_sge = mdev->limits.max_sg; |