Message ID | 9112e5a4-e7c0-7098-2aca-691661e427d6@mellanox.com (mailing list archive) |
---|---|
State | Not Applicable |
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 B9F3D60385 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 2 May 2017 23:28:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D579284E3 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 2 May 2017 23:28:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 91CD1285F0; Tue, 2 May 2017 23:28:59 +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=-5.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, URIBL_BLACK 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 A149E285F1 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 2 May 2017 23:28:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750773AbdEBX2s (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Tue, 2 May 2017 19:28:48 -0400 Received: from mail-he1eur02hn0200.outbound.protection.outlook.com ([104.47.5.200]:61298 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750725AbdEBX2r (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Tue, 2 May 2017 19:28:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AXVDKJ1oi9lDo9aaIet6TFJ0C4OngQfUG5kr5xRz4mg=; b=EPd3MThcjwpjjEPZpcKi4KvxpdmKfd8NGtzRaZVCJ1Sb8AxiPn+SnCrwAwXN9vZmg1jZd1Oa7QgI2v+SrTKdYH1iyEKG4KgViF7xn6wIYtpAIIw47mp/TmQfBwlwF1HeGRHs8EzZbY5yPTROU1SV9MsTAUFJGEZT5B7JIH6BzUQ= Received: from AM5PR0501CA0028.eurprd05.prod.outlook.com (10.164.187.38) by VI1PR0502MB2958.eurprd05.prod.outlook.com (10.175.21.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1061.12; Tue, 2 May 2017 23:28:37 +0000 Received: from AM1FFO11FD023.protection.gbl (2a01:111:f400:7e00::198) by AM5PR0501CA0028.outlook.office365.com (2603:10a6:203:17::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11 via Frontend Transport; Tue, 2 May 2017 23:28:37 +0000 Authentication-Results: spf=pass (sender IP is 193.47.165.134) smtp.mailfrom=mellanox.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=pass action=none header.from=mellanox.com; Received-SPF: Pass (protection.outlook.com: domain of mellanox.com designates 193.47.165.134 as permitted sender) receiver=protection.outlook.com; client-ip=193.47.165.134; helo=mtlcas13.mtl.com; Received: from mtlcas13.mtl.com (193.47.165.134) by AM1FFO11FD023.mail.protection.outlook.com (10.174.64.212) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1047.9 via Frontend Transport; Tue, 2 May 2017 23:28:36 +0000 Received: from MTLCAS13.mtl.com (10.0.8.78) by mtlcas13.mtl.com (10.0.8.78) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 3 May 2017 02:28:36 +0300 Received: from MTLCAS01.mtl.com (10.0.8.71) by MTLCAS13.mtl.com (10.0.8.78) with Microsoft SMTP Server (TLS) id 15.0.1178.4 via Frontend Transport; Wed, 3 May 2017 02:28:36 +0300 Received: from [172.16.0.132] (172.16.0.132) by MTLCAS01.mtl.com (10.0.8.71) with Microsoft SMTP Server (TLS) id 14.3.301.0; Wed, 3 May 2017 02:28:34 +0300 Subject: Re: [PATCH, untested] mlx5: Avoid that mlx5_ib_sg_to_klms() overflows the klms[] array To: Laurence Oberman <loberman@redhat.com> References: <8992bd28-667f-94b1-e582-106e6b41aa4b@sandisk.com> <438230391.2090966.1493152655709.JavaMail.zimbra@redhat.com> <896e9a9e-43b6-7a21-e41b-861e4f795436@mellanox.com> <288883138.2280971.1493207257218.JavaMail.zimbra@redhat.com> <497950649.2287440.1493209093092.JavaMail.zimbra@redhat.com> <16ea1371-84a5-c055-5b0c-fdc6d355276a@mellanox.com> <2122831810.2341766.1493213317484.JavaMail.zimbra@redhat.com> <1879402127.2348907.1493214625254.JavaMail.zimbra@redhat.com> <1477402175.2378198.1493219418826.JavaMail.zimbra@redhat.com> CC: Leon Romanovsky <leonro@mellanox.com>, Bart Van Assche <bart.vanassche@sandisk.com>, Doug Ledford <dledford@redhat.com>, "Sagi Grimberg" <sagi@grimberg.me>, Israel Rukshin <israelr@mellanox.com>, <linux-rdma@vger.kernel.org> From: Max Gurtovoy <maxg@mellanox.com> Message-ID: <9112e5a4-e7c0-7098-2aca-691661e427d6@mellanox.com> Date: Wed, 3 May 2017 02:28:34 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1477402175.2378198.1493219418826.JavaMail.zimbra@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [172.16.0.132] X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:193.47.165.134; IPV:NLI; CTRY:IL; EFV:NLI; SFV:SPM; SFS:(10009020)(6009001)(39450400003)(39840400002)(39860400002)(39400400002)(39410400002)(39850400002)(2980300002)(438002)(13464003)(24454002)(199003)(189002)(377454003)(9170700003)(54356999)(50986999)(229853002)(76176999)(31686004)(3846002)(8936002)(65806001)(305945005)(50466002)(65956001)(36756003)(7736002)(4326008)(47776003)(81166006)(93886004)(8676002)(8656002)(77096006)(53546009)(54906002)(356003)(6116002)(478600001)(106466001)(230700001)(31696002)(6306002)(38730400002)(33646002)(2906002)(5660300001)(966004)(575784001)(23676002)(83506001)(189998001)(110136004)(6246003)(86362001)(65826007)(6916009)(2950100002)(4001350100001)(64126003)(50929005)(15760500002); DIR:OUT; SFP:1501; SCL:5; SRVR:VI1PR0502MB2958; H:mtlcas13.mtl.com; FPR:; SPF:Pass; MLV:nov; A:1; MX:1; PTR:mail13.mellanox.com; X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD023; 1:H7k0BIE5H5swaqGQGSIZW2QsGFWS0KRIm7o06pR9fWtmu8XfX94/Zu8e3DNHIbsOm/nB2zWcgue1CmJ3RzJlGw7h2ycn5bMap2nk5kYQQi1piNRZVQADb3CEZTqQbkDjel3kcpesS1b9BKyGUNhS3jtA7L+SzCs9dq/Gkf/33D+wyoJxPYz0ZdO22DbGCn1rLNTd09hi44R0vnydDxcEJ8YW/OPZOjJ2/QERAbrSfK+MnfgH30V0NAPznbSroQfuqWbyRSrfhyeDdtEkZSGq04cN2nVlUSXgSLlhtsHcuAMsw4Hh3yJJO2BaIR5tKQFHBXUcU+MT7iJc5toX1aM1cLAyUbgv2xSTT3gZOqetLrsljySGkpx2MBxly9D0d0mZksxHb/uVEFjENe50CNt1kTVlNZJL4hX7j1agbwljmZ3KtPeYJsYXp+vMeV1k4WMo3zYbYup7wQDT+MkPfqru7rIRJcgWafv72dLVdP2iri3Zo82REwsPPL7SqQQdKcUmMdxpPhUbfkPbISI7bIrb71ogxVX8NRvMlFkQWQeZhCM0uV2HdPoq8Si+5f9vlCLKb4e2FqnTf29NrDcbd9J4gA== X-MS-Office365-Filtering-Correlation-Id: 95a2bf3d-7852-40cd-a9d4-08d491b2f55d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081); SRVR:VI1PR0502MB2958; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB2958; 3:jm0N0yPiMP23TzaEa7FyjnJu2brL56TBpU47UjHCXCXcJ7/FXSR/ndgEop/euqzHYppY8enUIgaURWgT6DfL1S8n3e9OCrxPoWQlKV2EDNoS5olp0KA1o6xqZvdBhl/hz8Ty00IH6iH/FQ8FHFKRki+/VjNvmJbrqk8q2tiGcCqqlmAlTjLhaDY96wc682iGXLH2uCLP0zP7OCp+CO6xPYBqkfw7WpKkG7LbZjGtwcXqxlQtNVEvIIoXitNCAGjaZkq7VsMFZLqQp5uFbL7Vvwr3Tb3kRlMJ1Co0gQ0V7HLgC/axiaJeOQDmnZajMrUrksSa76OBgDEVj8CpMLGPsL/J8+B+s45gxawRhxjjT5DzKcyXjmN/PyvwwZOiar6pY2aK87aFG9XQejNy92JNvLRRItd66ccdowGXdviZy0p0kR+h75UD5+GlUNdjHzGTT9SGsekDmW/CAD9dkr6hUyrtjDT/k2MJWzmxnRic5ko/v5YagsjNzT9zZuo7IcGW X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB2958; 25:OKkDgjO2Vfr+xfKnnjotnCe0heUAwDtxon8JFcIy6/sc0MtzxsheqqxOs89olGANr3ufyfysCKSkL5b92Stcgcqen23LJ5LqpYQdFTrbVw0brf7VPAdDiIGkd/l58PkUXb4VKiH6o+hCOIl2ikXl0lnuSafEhtXrSgQlV1qByvJPW4LjTBA2eY08RuYOagjVYmwCq3R6Kf7GJ1PgndpRGv3cTW/hVM5oC0cgZ+UVEf8cKlaVDta4x6AphreWJRMdWtsE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E1579D40BB3E70B6170@VI1PR0502MB2958.eurprd05.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(9452136761055)(131327999870524)(265634631926514)(42932892334569)(235219596079481); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(3002001)(10201501046)(93006095)(93004095)(6055026)(2002001)(6041248)(20161123558100)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(6072148); SRVR:VI1PR0502MB2958; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0502MB2958; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA1MDJNQjI5NTg7NDo2WXI3dnV2eEszZE05THcrbzZtdkU5TWFw?= =?utf-8?B?WGFhbXM3K3hIS2F5Mk8rQVRRMTNIY0djVlZNSjBwbng2bzA5ZU4wMmpUdkFo?= =?utf-8?B?ZTFRMVBxNzJmdURPUklNTS9ZRnFWVEJDeGVWaU5KYWVNN0QrYnFIOWhianR5?= =?utf-8?B?cDBjaEx1TjJiYzY3NUF3NktkcGlxSUtHRGNHbVFEcUhiMUZXUm5hMmpvVDg5?= =?utf-8?B?Z2I2a0s3ckE5YnFReENBbVovZXBMNTBsVFlnTTVGQi9TbDZWNmRzdG85dHFL?= =?utf-8?B?Q2N1WEhYMWQxakZveVNINk9xelBZZHY5OFdoZHkrWEo2K29hTHpReVlYdXM4?= =?utf-8?B?VGFncWRHK2Q1aWtZdU1wbUVmVWcvUHJPR2hiRmlBVzFNbDR1VUUySU8zaDRi?= =?utf-8?B?UXF5aUpJR25QMUc5VDVScVpEVEpGRVhGZTAyVHhsQktsZ0RXTCtQekJWa3Vj?= =?utf-8?B?TTJOU2ZraENiVGtKUjBncmNqR0x0YUtlZk53NEh5bDcwMTNYWTJSd3hKYWJh?= =?utf-8?B?UXNJUzJIbTB4akFXVkpOT25aWE5WYTIyNERpSExDTVF4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7/ErX7Dn0FxegfLnyEkNWQ6yWXYDsSojitfulRW2ffHAY/uL2d0w56wXfgahpbkRDUyYSly0aAv/yuwtKZCqmj1Deh5UZO6GE/1Zi6L6Bl0O86zIs6NdCjbt0Y/mgGygqogOEftb53L2ACbWR706iCc=; 5:UpsXURxaA0EAVFGjw/YPecayCl21GNs+NBnpAnc3KbWp/p/t50NKv4y1Ry2e4abQaE3/dbtMbDkp7Fdiz6qfjQi7mPqJ2ESs9lsi0pLOqRotiQjljGwOeXk6tvU6Om61Moxvyf12+PGLijghOCY8TA== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB2958; 7:lxnlh130YzWL1J6KsGjPFw+6bQ5FQUTF7YpMgKNto1uz2UnNoZIUikHmaBMoQda7bFHVPILzKozk/YLU4wxL/93RSWLM0MXu0+PpjEW7gfY4LRbRfMneS7MctdS8MPJP7ESetCou8Z0759rv947eN6cIUvuS9BufFOGjqnW60QimCSuM6XpbMYtYiDahHIWrKbSfzR2MPxu5f+X+nZHa1SfR94qT400Ha4tKNneU7lUtUk/jqffAplnM8qwc3M85pCVVooBV+hhEDNzBW9vNa1gUeH2mDvq/15fT+MG0Ij3ffVemBXO2jX3knQg4l2zbPXSqn4o+FXURMTY0ggD6lw== X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2017 23:28:36.9725 (UTC) X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a652971c-7d2e-4d9b-a6a4-d149256f461b; Ip=[193.47.165.134]; Helo=[mtlcas13.mtl.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB2958 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 |
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index cee4626..53a67fd 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -3387,6 +3387,10 @@ static ssize_t srp_create_target(struct device *dev, sizeof (struct srp_indirect_buf) + target->cmd_sg_cnt * sizeof (struct srp_direct_buf); + pr_info("sg_tablesize %u mr_pool_size %u mr_per_cmd %u indirect_size %u max_iu_len %u max_sectors %u\n", + target->sg_tablesize, target->mr_pool_size, target->mr_per_cmd, target->indirect_size, + target->max_iu_len, target->scsi_host->max_sectors); +