diff options
author | Jack Morgenstein <jackm@mellanox.co.il> | 2005-09-26 23:30:02 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-18 02:20:24 +0400 |
commit | 33033b797225553e48ca68d8d8dc5e64ec22e02b (patch) | |
tree | f76970269a0a16eb6b301f3d048af7670232d652 /drivers/infiniband/hw/mthca/mthca_main.c | |
parent | 0c33aeedb2cf99d877ad9adc7c3df07870f60293 (diff) | |
download | linux-33033b797225553e48ca68d8d8dc5e64ec22e02b.tar.xz |
[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 mdev->limits.reserved_uars = dev_lim->reserved_uars; mdev->limits.reserved_pds = dev_lim->reserved_pds; mdev->limits.port_width_cap = dev_lim->max_port_width; + mdev->limits.flags = dev_lim->flags; /* IB_DEVICE_RESIZE_MAX_WR not supported by driver. May be doable since hardware supports it for SRQ. |