From patchwork Thu Aug 11 00:42:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arlin Davis X-Patchwork-Id: 1055412 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7B0fe5m016848 for ; Thu, 11 Aug 2011 00:42:07 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755487Ab1HKAmH (ORCPT ); Wed, 10 Aug 2011 20:42:07 -0400 Received: from mga14.intel.com ([143.182.124.37]:14831 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752290Ab1HKAmG convert rfc822-to-8bit (ORCPT ); Wed, 10 Aug 2011 20:42:06 -0400 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 10 Aug 2011 17:42:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,353,1309762800"; d="scan'208";a="37259027" Received: from azsmsx601.amr.corp.intel.com ([10.2.121.193]) by azsmga001.ch.intel.com with ESMTP; 10 Aug 2011 17:42:06 -0700 Received: from azsmsx602.amr.corp.intel.com (10.2.121.201) by azsmsx601.amr.corp.intel.com (10.2.121.193) with Microsoft SMTP Server (TLS) id 8.2.255.0; Wed, 10 Aug 2011 17:42:05 -0700 Received: from fmsmsx103.amr.corp.intel.com (10.19.9.34) by azsmsx602.amr.corp.intel.com (10.2.121.201) with Microsoft SMTP Server (TLS) id 8.2.255.0; Wed, 10 Aug 2011 17:42:05 -0700 Received: from fmsmsx151.amr.corp.intel.com ([169.254.6.155]) by FMSMSX103.amr.corp.intel.com ([169.254.3.119]) with mapi id 14.01.0323.003; Wed, 10 Aug 2011 17:42:04 -0700 From: "Davis, Arlin R" To: linux-rdma , "ofw@lists.openfabrics.org" , "ewg@lists.openfabrics.org" Subject: [PATCH 5/10] DAPL v2.0: common: add supported collective types in named attributes for query Thread-Topic: [PATCH 5/10] DAPL v2.0: common: add supported collective types in named attributes for query Thread-Index: AcxXv3wNRc7tPY/3TYygOcbBPU7m6w== Date: Thu, 11 Aug 2011 00:42:03 +0000 Message-ID: <54347E5A035A054EAE9D05927FB467F916E42B4B@FMSMSX151.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 11 Aug 2011 00:42:07 +0000 (UTC) Signed-off-by: Arlin Davis --- dapl/openib_common/util.c | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/dapl/openib_common/util.c b/dapl/openib_common/util.c index 5076df8..29fc12f 100644 --- a/dapl/openib_common/util.c +++ b/dapl/openib_common/util.c @@ -591,6 +591,26 @@ DAT_NAMED_ATTR ib_attrs[] = { { DAT_IB_ATTR_IMMED_DATA, "TRUE"} , +#ifdef DAT_IB_COLLECTIVES + { + DAT_IB_COLL_BARRIER, "TRUE"} + , + { + DAT_IB_COLL_BROADCAST, "TRUE"} + , + { + DAT_IB_COLL_REDUCE, "TRUE"} + , + { + DAT_IB_COLL_ALLREDUCE, "TRUE"} + , + { + DAT_IB_COLL_ALLGATHER, "TRUE"} + , + { + DAT_IB_COLL_ALLGATHERV, "TRUE"} + , +#endif /* DAT_IB_COLLECTIVES */ #ifndef _OPENIB_CMA_ { DAT_IB_ATTR_UD, "TRUE"}