diff options
author | Alexander Schmidt <alexs@linux.vnet.ibm.com> | 2010-01-27 17:03:08 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-02-12 15:25:06 -0800 |
commit | fa55e30bc35bf4ec5a7304a537c0ce5438e908e2 (patch) | |
tree | 9b2fc0a628bb3f78dcf499b2da9d7e71974936fe /drivers/infiniband | |
parent | 25ef756385ce01834504977c22bcce8d8f000e5b (diff) | |
download | kernel_samsung_tuna-fa55e30bc35bf4ec5a7304a537c0ce5438e908e2.zip kernel_samsung_tuna-fa55e30bc35bf4ec5a7304a537c0ce5438e908e2.tar.gz kernel_samsung_tuna-fa55e30bc35bf4ec5a7304a537c0ce5438e908e2.tar.bz2 |
IB/ehca: Allow access for ib_query_qp()
The max_dest_rd_atomic and max_qp_rd_atomic values are properly
returned by query_qp(), so there should not be an error returned when
they are queried.
Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_qp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_qp.c b/drivers/infiniband/hw/ehca/ehca_qp.c index 0338f1f..b105f66 100644 --- a/drivers/infiniband/hw/ehca/ehca_qp.c +++ b/drivers/infiniband/hw/ehca/ehca_qp.c @@ -55,9 +55,7 @@ static struct kmem_cache *qp_cache; /* * attributes not supported by query qp */ -#define QP_ATTR_QUERY_NOT_SUPPORTED (IB_QP_MAX_DEST_RD_ATOMIC | \ - IB_QP_MAX_QP_RD_ATOMIC | \ - IB_QP_ACCESS_FLAGS | \ +#define QP_ATTR_QUERY_NOT_SUPPORTED (IB_QP_ACCESS_FLAGS | \ IB_QP_EN_SQD_ASYNC_NOTIFY) /* |