diff options
author | Selvin Xavier <selvin.xavier@emulex.com> | 2014-02-04 10:27:04 +0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-04-03 19:30:04 +0400 |
commit | ac578aef8b9f6095016a12390f0ff638a3a54988 (patch) | |
tree | 625175d613b8d356bd1201e5613e7e17ae5dc9f3 /drivers/infiniband/hw/ocrdma/ocrdma_hw.c | |
parent | cf5788ade718a2cc654170ff11c7d6f6f1ecbdcc (diff) | |
download | linux-ac578aef8b9f6095016a12390f0ff638a3a54988.tar.xz |
RDMA/ocrdma: Display proper value for max_mw
Signed-off-by: Selvin Xavier <selvin.xavier@emulex.com>
Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_hw.c')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_hw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c index 6eedd2d56d85..f1ec9d9a7224 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_hw.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_hw.c @@ -1016,6 +1016,7 @@ static void ocrdma_get_attr(struct ocrdma_dev *dev, attr->local_ca_ack_delay = (rsp->max_pd_ca_ack_delay & OCRDMA_MBX_QUERY_CFG_CA_ACK_DELAY_MASK) >> OCRDMA_MBX_QUERY_CFG_CA_ACK_DELAY_SHIFT; + attr->max_mw = rsp->max_mw; attr->max_mr = rsp->max_mr; attr->max_mr_size = ~0ull; attr->max_fmr = 0; |