IB/ehca: Allow access for ib_query_qp()
authorAlexander Schmidt <alexs@linux.vnet.ibm.com>
Wed, 27 Jan 2010 17:03:08 +0000 (17:03 +0000)
committerRoland Dreier <rolandd@cisco.com>
Fri, 12 Feb 2010 23:25:06 +0000 (15:25 -0800)
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>
drivers/infiniband/hw/ehca/ehca_qp.c

index 0338f1fabe8a9880884141c26f74a1ff61d182dc..b105f664d3efb24db69d304cca6bb24c29fcf7b2 100644 (file)
@@ -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)
 
 /*