From patchwork Tue Jul 10 14:23:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Klein X-Patchwork-Id: 1177721 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 6CD19402D2 for ; Tue, 10 Jul 2012 14:23:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752586Ab2GJOXm (ORCPT ); Tue, 10 Jul 2012 10:23:42 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:37977 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752243Ab2GJOXl (ORCPT ); Tue, 10 Jul 2012 10:23:41 -0400 Received: by bkwj10 with SMTP id j10so30435bkw.19 for ; Tue, 10 Jul 2012 07:23:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=XfD5OmAV/krYfmo55A2HEgM8S+sFeJkAwxs4FOHX0Qk=; b=cZ8/vDqAk/9q0YiNOcBT9IdYWe/9Y5tN7L+j//iGA3a7j1VNyl4OckDdePTK5JIguu GPhsfB0kbaY60Hy0ZB6XZPLR4RtyjmIemFWDvY8fINjp+7bnuzMhtLluOISemcUxhDLz X+MWcAA2x0yps+pFrJ0xOXC8TybpGwbNhv+KeP3KzFOzcEFT86eErhUlJNh/Ln+KCUxN dr2K93aIozndHY63Nvb7YRFX7sAWJL9zLHisMJd0oMqzUu2zDNso9ngiAGLcOvW+jgEl eaCG1pgH7HogTu+s69oIKdWDu0zqxQ69PAP57aPbWJim4QkKc/+f61dzwk4otEgrvOqm DcGg== Received: by 10.204.129.8 with SMTP id m8mr13158882bks.62.1341930219925; Tue, 10 Jul 2012 07:23:39 -0700 (PDT) Received: from [172.25.5.23] ([193.47.165.251]) by mx.google.com with ESMTPS id t23sm20663570bks.4.2012.07.10.07.23.38 (version=SSLv3 cipher=OTHER); Tue, 10 Jul 2012 07:23:39 -0700 (PDT) Message-ID: <4FFC3AE7.8040006@dev.mellanox.co.il> Date: Tue, 10 Jul 2012 17:23:35 +0300 From: Daniel Klein User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: "linux-rdma@vger.kernel.org" , danielk@mellanox.com Subject: [PATCHv1] opensm/osmtest: fix osmtest ignores timeout parameter X-Gm-Message-State: ALoCoQl7mjLGruHGMp0Nd+7QAUXXsKqZ8mktfQW6DokqtpwYBIMySA8rerZ2s3L8BvK2Z8CuEGlu Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Fix: osmtest ignores timeout parameter, and binds with default value v1 changes: updating only timeout field of bind_info Signed-off-by: Daniel Klein --- libvendor/osm_vendor_ibumad_sa.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libvendor/osm_vendor_ibumad_sa.c b/libvendor/osm_vendor_ibumad_sa.c index 1470624..1d482c0 100644 --- a/libvendor/osm_vendor_ibumad_sa.c +++ b/libvendor/osm_vendor_ibumad_sa.c @@ -240,7 +240,7 @@ osmv_bind_sa(IN osm_vendor_t * const p_vend, bind_info.is_report_processor = FALSE; bind_info.send_q_size = OSM_SM_DEFAULT_QP1_RCV_SIZE; bind_info.recv_q_size = OSM_SM_DEFAULT_QP1_SEND_SIZE; - bind_info.timeout = OSM_DEFAULT_TRANS_TIMEOUT_MILLISEC; + bind_info.timeout = p_vend->timeout; bind_info.retries = OSM_DEFAULT_RETRY_COUNT; /* allocate the new sa bind info */