diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2005-09-26 15:30:02 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-17 18:20:24 -0400 |
commit | 33033b797225553e48ca68d8d8dc5e64ec22e02b (patch) | |
tree | f76970269a0a16eb6b301f3d048af7670232d652 /drivers/infiniband/hw/mthca/mthca_main.c | |
parent | 0c33aeedb2cf99d877ad9adc7c3df07870f60293 (diff) |
[IB] mthca: Report correct atomic capability
Return correct atomic capability flag from mthca query function.
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_main.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c index 23a3f56c7899..576e7fcd053c 100644 --- a/drivers/infiniband/hw/mthca/mthca_main.c +++ b/drivers/infiniband/hw/mthca/mthca_main.c | |||
@@ -172,6 +172,7 @@ static int __devinit mthca_dev_lim(struct mthca_dev *mdev, struct mthca_dev_lim | |||
172 | mdev->limits.reserved_uars = dev_lim->reserved_uars; | 172 | mdev->limits.reserved_uars = dev_lim->reserved_uars; |
173 | mdev->limits.reserved_pds = dev_lim->reserved_pds; | 173 | mdev->limits.reserved_pds = dev_lim->reserved_pds; |
174 | mdev->limits.port_width_cap = dev_lim->max_port_width; | 174 | mdev->limits.port_width_cap = dev_lim->max_port_width; |
175 | mdev->limits.flags = dev_lim->flags; | ||
175 | 176 | ||
176 | /* IB_DEVICE_RESIZE_MAX_WR not supported by driver. | 177 | /* IB_DEVICE_RESIZE_MAX_WR not supported by driver. |
177 | May be doable since hardware supports it for SRQ. | 178 | May be doable since hardware supports it for SRQ. |