From patchwork Fri Dec 3 23:32:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arlin Davis X-Patchwork-Id: 379281 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB3NXFvr012237 for ; Fri, 3 Dec 2010 23:33:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753671Ab0LCXdO (ORCPT ); Fri, 3 Dec 2010 18:33:14 -0500 Received: from mga01.intel.com ([192.55.52.88]:26206 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753448Ab0LCXdN convert rfc822-to-8bit (ORCPT ); Fri, 3 Dec 2010 18:33:13 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 03 Dec 2010 15:33:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,296,1288594800"; d="scan'208";a="864263023" Received: from orsmsx603.amr.corp.intel.com ([10.22.226.49]) by fmsmga001.fm.intel.com with ESMTP; 03 Dec 2010 15:32:57 -0800 Received: from orsmsx605.amr.corp.intel.com (10.22.226.10) by orsmsx603.amr.corp.intel.com (10.22.226.49) with Microsoft SMTP Server (TLS) id 8.2.254.0; Fri, 3 Dec 2010 15:32:51 -0800 Received: from orsmsx506.amr.corp.intel.com ([10.22.226.44]) by orsmsx605.amr.corp.intel.com ([10.22.226.10]) with mapi; Fri, 3 Dec 2010 15:32:51 -0800 From: "Davis, Arlin R" To: linux-rdma , "ofw@lists.openfabrics.org" CC: "Smith, Stan" Date: Fri, 3 Dec 2010 15:32:50 -0800 Subject: [PATCH] DAPL v2.0: ucm: configure the recv channel FD to non-blocking Thread-Topic: [PATCH] DAPL v2.0: ucm: configure the recv channel FD to non-blocking Thread-Index: ActyJdB1zpL8wMt1SpGrifvPhTdQ9QhG2UBw Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US 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.3 (demeter1.kernel.org [140.211.167.41]); Fri, 03 Dec 2010 23:33:15 +0000 (UTC) diff --git a/dapl/openib_ucm/device.c b/dapl/openib_ucm/device.c index 6882c58..a628a78 100644 --- a/dapl/openib_ucm/device.c +++ b/dapl/openib_ucm/device.c @@ -497,6 +497,7 @@ static int ucm_service_create(IN DAPL_HCA *hca) tp->rch = ibv_create_comp_channel(hca->ib_hca_handle); if (!tp->rch) goto bail; + dapls_config_comp_channel(tp->rch); tp->scq = ibv_create_cq(hca->ib_hca_handle, tp->cqe, hca, NULL, 0); if (!tp->scq)