Message ID | 1494434393-17261-4-git-send-email-RaghavaAditya.Renukunta@microsemi.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show
Return-Path: <linux-scsi-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 DBC2E60236 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 10 May 2017 06:24:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD092284D5 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 10 May 2017 06:24:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1AB028552; Wed, 10 May 2017 06:24:13 +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.0 required=2.0 tests=BAYES_00, DATE_IN_FUTURE_06_12, DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_HI 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 A21A1284D5 for <patchwork-linux-scsi@patchwork.kernel.org>; Wed, 10 May 2017 06:24:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751628AbdEJGYL (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Wed, 10 May 2017 02:24:11 -0400 Received: from mail-bn3nam01on0040.outbound.protection.outlook.com ([104.47.33.40]:41712 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751545AbdEJGYI (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Wed, 10 May 2017 02:24:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mscc365.onmicrosoft.com; s=selector1-microsemi-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=noi+zyq059xeXDlQxfQz4ZRGCfNEWvK9eZDxgc8brrw=; b=Th2w/GrFwiNxXXepy9FZF/Jnr8UVcyO//AR8GMWD5MkVX41D96WMbeWv50EJiv+W30LH5Go9DBv8aWXjKZF7OoAYLBQ0FgIegozm6O4aVfAvHZsm9hhnuPA6idJB2o6O2OuBmMJjMqe7c/iQqx8J5hVyLNQVo46NvXWYmjNlNEI= Received: from CY4PR02CA0034.namprd02.prod.outlook.com (10.175.57.148) by SN1PR0201MB1902.namprd02.prod.outlook.com (10.163.76.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.11; Wed, 10 May 2017 06:24:06 +0000 Received: from BN1BFFO11FD011.protection.gbl (2a01:111:f400:7c10::1:131) by CY4PR02CA0034.outlook.office365.com (2603:10b6:903:117::20) 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; Wed, 10 May 2017 06:24:06 +0000 Authentication-Results: spf=neutral (sender IP is 208.19.100.21) smtp.mailfrom=microsemi.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=microsemi.com; Received-SPF: Neutral (protection.outlook.com: 208.19.100.21 is neither permitted nor denied by domain of microsemi.com) Received: from avsrvexchhts1.microsemi.net (208.19.100.21) by BN1BFFO11FD011.mail.protection.outlook.com (10.58.144.74) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1047.9 via Frontend Transport; Wed, 10 May 2017 06:24:05 +0000 Received: from localhost (10.181.72.13) by avsrvexchhts1.microsemi.net (10.100.34.105) with Microsoft SMTP Server (TLS) id 14.3.339.0; Tue, 9 May 2017 23:24:02 -0700 From: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com> To: <jejb@linux.vnet.ibm.com>, <martin.petersen@oracle.com>, <linux-scsi@vger.kernel.org> CC: <David.Carroll@microsemi.com>, <Gana.Sridaran@microsemi.com>, <Scott.Benesh@microsemi.com>, <Prasad.Munirathnam@microsemi.com> Subject: [PATCH V2 03/19] aacraid: Added 32 and 64 queue depth for arc natives Date: Wed, 10 May 2017 09:39:37 -0700 Message-ID: <1494434393-17261-4-git-send-email-RaghavaAditya.Renukunta@microsemi.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1494434393-17261-1-git-send-email-RaghavaAditya.Renukunta@microsemi.com> References: <1494434393-17261-1-git-send-email-RaghavaAditya.Renukunta@microsemi.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:208.19.100.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39850400002)(39450400003)(39400400002)(39840400002)(39410400002)(39860400002)(2980300002)(199003)(189002)(9170700003)(356003)(2201001)(86362001)(4326008)(104016004)(105586002)(106466001)(5003940100001)(81166006)(8936002)(305945005)(50226002)(8676002)(107886003)(38730400002)(2906002)(189998001)(72206003)(5660300001)(54906002)(478600001)(53936002)(76176999)(50986999)(77096006)(36756003)(50466002)(6666003)(2950100002)(76506005)(57986006)(47776003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0201MB1902; H:avsrvexchhts1.microsemi.net; FPR:; SPF:Neutral; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD011; 1:tab6l9g1JZ2t5+UcMT62E981Abv2hR6RXUcooZERbGLOR/w5pUPVMzhjkmeRngMuyvWi+tpU3Z6LEqEloUxCGslBS+02hrvvPZD2l7R2yXU1x/9pBjcGgUTySdvzKjfiQRnGsgzBgs3VImgq337jJiGsvcSI0cEU30mXXtxP3qKdqmMl42k6pAVn0HfhX2C5QGgVzdFst5+GDgld17/rVI/xB2H35THw6MboQEIoGHYN1FQI65HsoQngcAP7lD+UCVbhh0hcMqN5PakhXdkWG8GLXHtMfUSgCY8dYXuH7kyUWJE3ipORbYKLHOrsks53NHE6o8mBGWYavjBHhpyg0uHOMt2rwvxTnoBa2quWoOs+F/g4ZE+FofIxvccHOEwF5WOnd7gHAV6krTpT+RHstri+Ls/ukBBzYqd4cYeUUlo9Bad1G5qPt5XQ45sjCjrSvFG862ASUAj/QjXhEUbl/RoHBvfhaq7hojaPf8EXF9ytYtbbQSa13u8R+W6AfMQxF4hkGuKzhHtocHl4vWtixI4YyKy+lEpHWYkN8gpwltL1D6Tpofx3YnF23Z9a5H8WtU3J9XrVYiVtoRVtVnPLjQ== X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3535244b-310d-4222-f68f-08d4976d2919 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:SN1PR0201MB1902; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1902; 3:v+B1crEkHuAAmLj3Tr6o0ROAVPxq8P+dwfXTzX9NPUnBiPRxvvVo/Z0XK6mIdCuZUUoueF5XnqWhT0AMjOTyWaIj70+THs7z02efJyWDN8JJrxYvMznjQFUe9L4uoeaqblwEXhHd2WJz6jlaPSvvqFX50RH0rWIzmGVMtZOsFYQhlffe3OgPGcdAzZheXzPk0WO8uBeTuxAfnefpV5F/GucDnwiCZ8QsjIp1PHxadXQJh2S7QJpNVu/wFJckcfn4q0N3xWp43q8XdSLjiYEXEQjQG/NsCE2n+AP9u1aLeZxaeKhUONGeY92SoViEb0cpVtPvYk8p0tObLf66V8Ocuj0UieKpEbasQm0U8cHjLkaTpYK0nnSKrJoNcgCSyl3bAcO9yJSaRwe+OjighbVQv7+iWVNNgFtBhv8Ef8Y/J09Y1L+uXPJPvsZDPSbRH9b/e+A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w0mUQ6o0QeoYY20HCl0f8r3LkzqbikmpsS/zpyDgd7XwC9JoXNOKDdnu/a4sG3I2o/sl+J2KKI2DDykjvd9/2Kkak+xXx+18CAsLzvZaXj7TDd9+/TkFpU4s82XSqyw0kcoKmI4I9ynE6RtluP5+8h3JiFnwkMmo2cdHxa9wlogpy2twWWlf1QV6IUi9ZFZu1Fc6fTsOy+nFcENkrl1RJPTgHAL7hQGKRmS/akLZ4tBQzkkuYuNptk/IlfJyBkVahobCHNxK3Us7S6UN8bAIsUTC5nllsC/GJoN7SEp+KE00Cu21ZuIqV8QTF59BB+kcMeFJChqCiWQADHcjck7Y0lZb9CePDffcFohEf7QNqEmP X-Microsoft-Antispam-PRVS: <SN1PR0201MB190224DCDAF00F4FC3EA74A7F0EC0@SN1PR0201MB1902.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(72170198267865); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(13023025)(13024025)(13018025)(5005006)(13017025)(13015025)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(20161123564025)(20161123558100)(6072148); SRVR:SN1PR0201MB1902; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0201MB1902; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1902; 4:kwwnR4BlJApdQdukcKLMUkirNvXU/yIp21MvhIBoOJNozOztcfqEyCJnNqJVvdaI19dDv9/xeKnGG1lIOJtz0LdkgvHkKLumkRDwU1gP6A40uVhDG1Iz7Q53uVNKNexfiXozgWs8aYwdP5z6f1nKYGaaM4ntm9D+3E5FgPIUyO17xju5ht9+1ly1JjXymSfLATw+c86sqdJjJbRKclH2A6v3RxeWJOrebgwBLWGg3iPzlJghKFYWOMLZbgn9tq1tMiUSQssZrKY/KcXH/nUW+KIScNAxK8CwIbSB0s53oyroP2re4hftTZpuHZtTCi70kOisTZdDqlhjXEH1AcApfIGVjcUsOwngQVp3NYV01ErjkGt8ypsORu/0Byo69XtAijfHCxkKcbY60xrlb/B6JZ9xiTJwb9oUIL64TsC9oP3geiJUZfE4JlWqlTPPeSYdr7fgsuKjeFKb/8FYxaKVcSnTBh7AMH8QlmlWU7bMzF9P3IYyzrhWkQjR7S2fDMdxhI+DWid8CH34cu34tuyz3iPCF/VmzHJlCDAxglpUJq/M4RARW3t7gVJ4EhpefjG+SQ58RkSDq6y4kU+psZ3xuG8J88q1kVqDFFZL6CLmm7nyNeQodzhqs6lmt8PvMcyzattGuQFaNQGg1JX+ptitAt34z0YM23sZpxMjmP60wLQcGvRa+N74JKVa0GX2BuwS7ANc1kIdQjYnLT9nzjI3sGINc9/QvX8PW78XQWsT3CpSrjkHWtCImmOrdvQjX0D+w+X6jW/7BrP2M8+1E9KMUqnovqiw08GtbtvOJnehdW99YD8edWWHyfapM1kvca3rhPDfGbp6NnsAVAOwaXK/4VPWV8SXJHucmnEeVvbTVd04klCBHxow6BbsDhvHk9SSK0JSC9Tw5xbjKvmjhGauBMszxRDL3q9cH3gtwmiP TR1nXQA91IOMoPEF7EJKzZDc X-Forefront-PRVS: 03030B9493 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0201MB1902; 23:A20EX8ZEEopGkKl69PP/VBR7JLvLXr5u4GgDOMw?= =?us-ascii?Q?84pAyVhSYk7UgL1w/ybSv/797IuHA7W4T3h3ieJVi6uVuM9T5ZEfxFPczBDt?= =?us-ascii?Q?rCY0G3MYjmBxz7kKVScifkNt6HfNWxhmO9x0FzSFMa2sLPhLcUnIDdC5O7oa?= =?us-ascii?Q?qOkpUgwra71aj9kIWdaPIQkZ9ceK0LiFfdKwpyKw+pxuHWT1TULGo+br74vi?= =?us-ascii?Q?AZUPYoXC89eiDziotBy/EsMBTJFSwN5xD3i/RGUz87SvE7P7I0FfPBhSEkU/?= =?us-ascii?Q?a+GFFuOEL4FoqTBlh/Z/W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qt8FK7RL+8/IEXvrHiJqwBxDul1FcQOBnCSVPg/pH59xAwc66KI/H+U5f/B6ahkxKESoF604eZA7y9Osac9t6+sahd8tuhe5QT1tercfjHzEk2mnFxLi2GO/N07m+c7w== X-OriginatorOrg: microsemi.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2017 06:24:05.9603 (UTC) X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad; Ip=[208.19.100.21]; Helo=[avsrvexchhts1.microsemi.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0201MB1902 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index d036a80..3ede6de 100644 --- a/drivers/scsi/aacraid/aacraid.h +++ b/drivers/scsi/aacraid/aacraid.h @@ -415,6 +415,7 @@ struct aac_ciss_identify_pd { * These macros convert from physical channels to virtual channels */ #define CONTAINER_CHANNEL (0) +#define NATIVE_CHANNEL (1) #define CONTAINER_TO_CHANNEL(cont) (CONTAINER_CHANNEL) #define CONTAINER_TO_ID(cont) (cont) #define CONTAINER_TO_LUN(cont) (0) diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 5a201da..5e1a2d6 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c @@ -466,6 +466,17 @@ static int aac_slave_configure(struct scsi_device *sdev) ++num_lsu; depth = (host->can_queue - num_one) / num_lsu; + + if (sdev_channel(sdev) != NATIVE_CHANNEL) + goto common_config; + + /* + * Check if SATA drive + */ + if (strncmp(sdev->vendor, "ATA", 3) == 0) + depth = 32; + else + depth = 64; } common_config: