Message ID | 298d9c50-821d-b3f6-cfb3-366ad919c025@sandisk.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C161C60487 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 7 Oct 2016 18:38:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6806297F0 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 7 Oct 2016 18:38:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AA1C1297F3; Fri, 7 Oct 2016 18:38:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4751C297F0 for <patchwork-linux-rdma@patchwork.kernel.org>; Fri, 7 Oct 2016 18:38:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754771AbcJGSiu (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Fri, 7 Oct 2016 14:38:50 -0400 Received: from mail-sn1nam01on0076.outbound.protection.outlook.com ([104.47.32.76]:41632 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753430AbcJGSis (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Fri, 7 Oct 2016 14:38:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=kUcWRV/Hbznz0sFqj0/aaLS9dqG+iGs+33fcrI8HqiI=; b=G18es3PccYaT/hqDhGOTK0Iyb+6Yt1CUvvUmHKfXGrfGXPLbavjC5meKNULlE6HMAqVV0mh2gyRSseYbvSrOE5Qvzluoc87F/udBLC323C3E4BBNPhsG/7AVMVqwDBfKptDqiLSxejgoM+isQYumteUTJI37YfLWrwJZODLBI6w= Received: from BY2PR02CA0080.namprd02.prod.outlook.com (10.242.32.38) by SN1PR02MB1630.namprd02.prod.outlook.com (10.162.128.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11; Fri, 7 Oct 2016 18:38:46 +0000 Received: from BN1BFFO11FD039.protection.gbl (2a01:111:f400:7c10::1:179) by BY2PR02CA0080.outlook.office365.com (2a01:111:e400:2c2a::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.639.5 via Frontend Transport; Fri, 7 Oct 2016 18:38:46 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; obsidianresearch.com; dkim=none (message not signed) header.d=none; obsidianresearch.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BN1BFFO11FD039.mail.protection.outlook.com (10.58.144.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.629.5 via Frontend Transport; Fri, 7 Oct 2016 18:38:45 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 02.AB.61581.099E7F75; Fri, 7 Oct 2016 11:29:39 -0700 (PDT) Received: from milsmgip12.sandisk.com (10.177.8.100) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Fri, 7 Oct 2016 11:38:41 -0700 X-AuditID: 0ac94371-5f3ff7000000f08d-9b-57f7e990664d Received: from asus.site ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id 61.5C.03606.1BBE7F75; Fri, 7 Oct 2016 11:38:41 -0700 (PDT) Subject: [PATCH 2/5] rxe_cfg: Initialize $rxe_mtu even if ibv_definfo fails To: Doug Ledford <dledford@redhat.com>, Jason Gunthorpe <jgunthorpe@obsidianresearch.com> References: <bf5dba39-7e14-23ee-4aa1-2a276d629fe9@sandisk.com> CC: Moni Shoua <monis@mellanox.com>, linux-rdma <linux-rdma@vger.kernel.org> From: Bart Van Assche <bart.vanassche@sandisk.com> Message-ID: <298d9c50-821d-b3f6-cfb3-366ad919c025@sandisk.com> Date: Fri, 7 Oct 2016 11:38:40 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <bf5dba39-7e14-23ee-4aa1-2a276d629fe9@sandisk.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrFLMWRmVeSWpSXmKPExsXCddJ5ke7kl9/DDQ4usbF4ef4Dq8X3G6YW zw71slhseL+G3YHF49n0w0we33f0Mnq833eVzePzJrkAligum5TUnMyy1CJ9uwSujEvzRAve sFTc//mDsYHxI3MXIyeHhICJRMfmb+xdjFwcQgJLmSTazzexQTjbGSXWND+Bq/r64TVU1TRG ib7JO1lBEsIC3hI7d99gB7FFBKIlms4uZgOxhQTsJJZ87ANrZhbwkdi9vIkFxGYT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ICl8J7F7lKLb925/pQgH31cvMjLWEzVIW XVh4/kDl96seEjkcpXL/VzpWKLEUZyQaajEXFScCAL/Z8gX0AQAA X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(199003)(189002)(83506001)(230700001)(36756003)(87936001)(586003)(189998001)(69596002)(19580405001)(19580395003)(86362001)(97736004)(92566002)(106466001)(229853001)(5001770100001)(31686004)(77096005)(23676002)(4001350100001)(68736007)(8936002)(356003)(31696002)(65806001)(305945005)(5660300001)(626004)(33646002)(4326007)(47776003)(65826007)(11100500001)(2270400002)(8676002)(50466002)(2906002)(7846002)(2950100002)(50986999)(64126003)(65956001)(76176999)(54356999)(81156014)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1630; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD039; 1:rtDn3i3pfFASq38RCzidJYR66mFdtSrdCIov9LAiOlqzhZeMWU15NLtf036V7/5Xoz3brRAIzq1vrjFshYiLyl4Q5ppofjx2HwKz9d+oAgvzzuHtKMnTbCsTKm7Sv24qUtBl7dLXXH3rqWhUNPmo19HUGGf0SL6tY6NQaYG3Nbx0NZ47jwh2jNBbGw7bMczAQM/Y+eG5+Jadad9LIUBdmccovKwgfGNJ9K0yf0p1I+ZjhdmQOI9/xaQvRRGEjNSm87lTJqB5Ksa+ojwUG6awd3c64GFBw53214Iha44ufT51U0HsxKwsfnoF1OVsCvRwu2/34xsw8f8PoqAN8DPU+JoRtEk4lafIVMWpIEcwhptmfnjNhfqt7ajwR//FqbKEynIPZvZ1FisiSf4ra6gSfYkDCFSr3fD8lz05hCF4ErAfEaYvk2IKTC+NsCND+eMAimuOvEpYo4ErVcaeu0X9zj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YSHbhTJgRTLRTgcDfD7Y7dvm52rMrMQuh1 sClB1vmHVmcfLm9lBZ8tWOxALl13e+xwo X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:SN1PR02MB1630; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1630; 31:Rta0Y5xhH2/P11ttKKO5SjRg/Ec8PHfet+rQyWuQzppGtcaK8SzA8MnHqtLPyuzVDNr7V22UtJ8KRCp+LR1ZZMMGodSRaPACBOaKbaZxGRUhQC1AgHUpnODpaO4ziAdgssz+srePo/nqBwV6S1lIp51HSbRgL3z5cxkL7KKKMHVmtlXBAqHdP04nWuQRmEZh7N0di3cQuC+RYWHLsUetoLzWnBdxcunin3vD9IT5wdDmASj/t8D7RkY5GFebPJzc; 20:pFiIKSbJbJkFj0IbQN0hFj6or+G6biC5e+NL3KLGo6Rp4nzFjJNbw+k0LwDFhm9FJ8j7oIzqcw4NMlMWN4c08i9ndrnmpB5MZnWvbdmJcV0FseI7u6LWSqPiA0BiIi2Tx2cCJi0XDc1Ov8YbwAAJ+K6thEvR0hhsdRhLQ8J6Tqu0dYPa+oqyPKK0hEcEgw3StyPEAAvWvsbo6EP/H8aJAdYQ37yBVjd3k+4tUgUNwHXRr+s8MC25M1s+7pHrvIi2eXqRkmBtlIq/jIXGjRW4CB7lspconJEJRdu8XwPa13q4kNcoAHpQqBiT/VQ9T0bUHFoohwX38J32yweq2CBFLCwC6XCRD8XDgFThagYwQVL0lL7ziDDK2Wf+Pnm2veeNhdXyCV/1yCusZMnE9UiIQOW7fah1eZUjIuedRfGKOIAe7b8JmJFf1ur3WnmE49FqVum2HusfnnNM7edfgZVsnYtJUA0xbS3TK/Wd8PJbOkZRjuzwey8ahMRR9cccua2q X-Microsoft-Antispam-PRVS: <SN1PR02MB16305430D9D4C75FB4988F5881C60@SN1PR02MB1630.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(13016025)(5005006)(13018025)(10201501046)(3002001)(6055026); SRVR:SN1PR02MB1630; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1630; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1630; 4:XTs8NhQKSz1tgN7a/GXE4oTyxwiYs/ei2XTwRYsc/TT/EvMZLsoBpAGn6P+6SbD/G8VI1hHCTWscJPGNoD6OwQLT9cVyzPLvIzhWsOvw1d4K+VCuoT+t3nTaemrpC5NaY0B/Th07kmpG15D0taG0FQeeu8R/w/R1z1+IJ21AnUJVVuhr3IfvvBN7MQXpVlZT8puVXN/SsKyKiJy+MzFtcraK3gO7aTwdHooiLK5mJ1aSuZCp+gy6pPcG6fSm6Unw4S+6emUldrMsOt1/e2Eo2zeO46pEgQrDvHDcjsgiNBJX9xva8K9ZckXjXE+T/q+UeXW9InKNMtMRL1Sd9JepMToVRWKXAwCIwRke1C4Uw+b7lJ/0al6mcbyqlhnnocZScLxsypo+bvxfXtHHx7mLOL5dtxEiY3EPldKvvHmh+HtHidu2DtDJouh2oZKVo0G6gGJ0GzU337OdW3TWJvABh5p4yXKpqDkaEIBS7sE5z9hRGcNHE3gdpzD88gOMn++t X-Forefront-PRVS: 0088C92887 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTTjFQUjAyTUIxNjMwOzIzOmhGbjN6N2tIamJzTEkyRmxaeXlIeFB2amRH?= =?utf-8?B?bENCZDBPV3N6ZkhoR1J5cmlSRVd6WnNoTnNuc2ZIS05LdDRwVHNrMTFSQjFY?= =?utf-8?B?WjBZWkRGSDNoeTI4VW5vdWJvbzFBejk0ZlROMFUvL05HU0pkOFRVeHZ5M1kw?= =?utf-8?B?VHQwcDBEU0FLL2VnRVhXemtxOW1uNGVST1hIZTBJaVVWaXFCU2lMcmM1OHkz?= =?utf-8?B?NUNUSWx2QXBDNlVRTGVLNVR3QWtNS1ZJNVNhb2daL0NlRGYrNkZ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YlV1J5WvRYYz5BnRWVVNdlXJdt5nu6dboByMfty391H7qHSnbjkIFa6qJxUxekodGuTtS6EhMS8bgCupzAeEoXnsx1rVQ==; 24:ZMdrCzvO+NZYbblHol4IR8yXmuIYBlXgRU7fTQ/GnIgInIWjl8fP6u5DAHTUNGAQ8TUd2X+uLDesKPbcLzmUw8ZMRrsjEW8vu3UfZS+TEgg=; 7:wWRZbFCusvL2gy4n8rOXOWFZubLP3eiUF3GKC7P2bapNDSqsMWQBIIrtH0uc4omXV7pMSAY7P17uEisz6M/P2cuo/AIZWEfHd9Ud1RYaaZVCiWu+3uA44tnYSNkZpdFwqDRxbwoYuSDCRzkFJ2pr+oKjfbEum02d+2d4khBf1CnLc9RyoIz2APC6YBegszNqGofsto9ZKg3s8qQBdxAIsznSHjdfytNXKosZCP6qiOnj/+6VA9i5Zsa423xAtrM5eMydCK9UE6DstrsSpxsy8RZrhFI54no8ig7ntu0qh7E+pzOT 8LSBW0H53LxYRKd0 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1630; 20:PKszLx4Tr/bhYWLUDV1eNgWK19yvWy2ykUHJhRQ31H+sPqu9TjElvHwAIq4ZmSILII6H5swN7o1HLmapdqfVp+RATpp6GMryIE4YJlYoiedyGTPu/Gp9q+OKMJNDm68w4uYpW2tMAbhrBOpTYDBjw7pgY+BnVQvbGTZR2E3av0Q4SDyQRpCF9aBMsGBnMnKw5iYH8jqRvQpSfEXfdhITHsZk8vbwk6Eq+rFFRME7j/ENGr47fvOIhLUC/yn62UP1 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2016 18:38:45.2348 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB1630 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On 10/7/2016 9:38 PM, Bart Van Assche wrote: > This patch avoids that the following error message is printed if > ibv_devinfo fails: > > Use of uninitialized value $rmtu in string at /usr/local/bin/rxe_cfg line 364. > > Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> > --- > providers/rxe/rxe_cfg | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/providers/rxe/rxe_cfg b/providers/rxe/rxe_cfg > index 0310d25bad91..1e6a5db2f2b8 100755 > --- a/providers/rxe/rxe_cfg > +++ b/providers/rxe/rxe_cfg > @@ -220,6 +220,7 @@ sub get_dev_info { > $rxe_mtu{$rxe} = $line; > } > } > + $rxe_mtu{$rxe} = "(?)" if (!$rxe_mtu{$rxe}); > } > } > > Ack -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/providers/rxe/rxe_cfg b/providers/rxe/rxe_cfg index 0310d25bad91..1e6a5db2f2b8 100755 --- a/providers/rxe/rxe_cfg +++ b/providers/rxe/rxe_cfg @@ -220,6 +220,7 @@ sub get_dev_info { $rxe_mtu{$rxe} = $line; } } + $rxe_mtu{$rxe} = "(?)" if (!$rxe_mtu{$rxe}); } }
This patch avoids that the following error message is printed if ibv_devinfo fails: Use of uninitialized value $rmtu in string at /usr/local/bin/rxe_cfg line 364. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> --- providers/rxe/rxe_cfg | 1 + 1 file changed, 1 insertion(+)