summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_main.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@mellanox.co.il>2005-09-26 12:30:02 -0700
committerRoland Dreier <rolandd@cisco.com>2005-10-17 15:20:24 -0700
commit33033b797225553e48ca68d8d8dc5e64ec22e02b (patch)
treef76970269a0a16eb6b301f3d048af7670232d652 /drivers/infiniband/hw/mthca/mthca_main.c
parent0c33aeedb2cf99d877ad9adc7c3df07870f60293 (diff)
downloadlinux-33033b797225553e48ca68d8d8dc5e64ec22e02b.tar.gz
linux-33033b797225553e48ca68d8d8dc5e64ec22e02b.tar.bz2
linux-33033b797225553e48ca68d8d8dc5e64ec22e02b.zip
[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.c1
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.