diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2008-05-27 00:22:17 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-05-27 00:22:17 +0200 |
commit | 03031f71c7e64aada1add057ccc4a8bc6a79924c (patch) | |
tree | 672d3d12a4770f5854dff679be444c62b883cbfe /drivers/infiniband/hw/ipath | |
parent | IB/ipath: Avoid test_bit() on u64 SDMA status value (diff) | |
download | linux-03031f71c7e64aada1add057ccc4a8bc6a79924c.tar.xz linux-03031f71c7e64aada1add057ccc4a8bc6a79924c.zip |
IB/ipath: Fix device capability flags
The driver supports a few features (RNR NAK, port active event, SRQ
resize) that were not reported in the device capability flags. This
patch fixes that.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_verbs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.c b/drivers/infiniband/hw/ipath/ipath_verbs.c index e0ec540042bf..7779165b2c2c 100644 --- a/drivers/infiniband/hw/ipath/ipath_verbs.c +++ b/drivers/infiniband/hw/ipath/ipath_verbs.c @@ -1494,7 +1494,8 @@ static int ipath_query_device(struct ib_device *ibdev, props->device_cap_flags = IB_DEVICE_BAD_PKEY_CNTR | IB_DEVICE_BAD_QKEY_CNTR | IB_DEVICE_SHUTDOWN_PORT | - IB_DEVICE_SYS_IMAGE_GUID; + IB_DEVICE_SYS_IMAGE_GUID | IB_DEVICE_RC_RNR_NAK_GEN | + IB_DEVICE_PORT_ACTIVE_EVENT | IB_DEVICE_SRQ_RESIZE; props->page_size_cap = PAGE_SIZE; props->vendor_id = dev->dd->ipath_vendorid; props->vendor_part_id = dev->dd->ipath_deviceid; |