From patchwork Fri Dec 3 23:33:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arlin Davis X-Patchwork-Id: 379311 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 oB3NXFvu012237 for ; Fri, 3 Dec 2010 23:33:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753748Ab0LCXdV (ORCPT ); Fri, 3 Dec 2010 18:33:21 -0500 Received: from mga01.intel.com ([192.55.52.88]:44951 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753873Ab0LCXdU convert rfc822-to-8bit (ORCPT ); Fri, 3 Dec 2010 18:33:20 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 03 Dec 2010 15:33:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.59,296,1288594800"; d="scan'208";a="864263097" Received: from orsmsx602.amr.corp.intel.com ([10.22.226.211]) by fmsmga001.fm.intel.com with ESMTP; 03 Dec 2010 15:33:19 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.226.213) by orsmsx602.amr.corp.intel.com (10.22.226.211) with Microsoft SMTP Server (TLS) id 8.2.254.0; Fri, 3 Dec 2010 15:33:18 -0800 Received: from orsmsx506.amr.corp.intel.com ([10.22.226.44]) by orsmsx601.amr.corp.intel.com ([10.22.226.213]) with mapi; Fri, 3 Dec 2010 15:33:18 -0800 From: "Davis, Arlin R" To: linux-rdma , "ofw@lists.openfabrics.org" CC: "Smith, Stan" Date: Fri, 3 Dec 2010 15:33:17 -0800 Subject: [PATCH 3/4] DAPL v2.0: ucm: decrease timeout retry count for disconnect requests Thread-Topic: [PATCH 3/4] DAPL v2.0: ucm: decrease timeout retry count for disconnect requests Thread-Index: ActyJdB1zpL8wMt1SpGrifvPhTdQ9QhG2UBwAAAhPyAAAAf+8AAACHqQ 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:22 +0000 (UTC) diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c index fd3106a..36291fd 100644 --- a/dapl/openib_ucm/cm.c +++ b/dapl/openib_ucm/cm.c @@ -341,6 +341,7 @@ static void ucm_process_recv(ib_hca_transport_t *tp, break; case DCM_CONNECTED: /* active and passive */ /* DREQ, change state and process */ + cm->retries = 2; if (ntohs(msg->op) == DCM_DREQ) { cm->state = DCM_DISC_RECV; dapl_os_unlock(&cm->lock);