From patchwork Wed Jan 27 17:03:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Schmidt X-Patchwork-Id: 75484 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0RH3Edq028573 for ; Wed, 27 Jan 2010 17:03:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755728Ab0A0RDN (ORCPT ); Wed, 27 Jan 2010 12:03:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755727Ab0A0RDN (ORCPT ); Wed, 27 Jan 2010 12:03:13 -0500 Received: from mtagate3.uk.ibm.com ([194.196.100.163]:58266 "EHLO mtagate3.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755704Ab0A0RDM (ORCPT ); Wed, 27 Jan 2010 12:03:12 -0500 Received: from d06nrmr1806.portsmouth.uk.ibm.com (d06nrmr1806.portsmouth.uk.ibm.com [9.149.39.193]) by mtagate3.uk.ibm.com (8.13.1/8.13.1) with ESMTP id o0RH3A5Z029251; Wed, 27 Jan 2010 17:03:11 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o0RH3A8m1380468; Wed, 27 Jan 2010 17:03:10 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o0RH397T003281; Wed, 27 Jan 2010 17:03:10 GMT Received: from alex-laptop (dyn-9-152-241-138.boeblingen.de.ibm.com [9.152.241.138]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id o0RH39I4003259; Wed, 27 Jan 2010 17:03:09 GMT Date: Wed, 27 Jan 2010 18:03:08 +0100 From: Alexander Schmidt To: Roland Dreier , Linux RDMA Cc: lkml , Stefan Roscher , Joachim Fenkes , Christoph Raisch , Hoang-Nam Nguyen , David Wilder Subject: [PATCH 2/2] ib/ehca: allow access for ib_query_qp() Message-ID: <20100127180308.5155480d@alex-laptop> In-Reply-To: <20100127180035.779b24d1@alex-laptop> References: <20100127180035.779b24d1@alex-laptop> X-Mailer: Claws Mail 3.6.1 (GTK+ 2.16.1; i486-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org --- linux-2.6.orig/drivers/infiniband/hw/ehca/ehca_qp.c +++ linux-2.6/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) /*