From patchwork Tue Dec 5 01:41:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ching Huang X-Patchwork-Id: 10092565 Return-Path: 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 45E0A6035E for ; Tue, 5 Dec 2017 09:41:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 288C229455 for ; Tue, 5 Dec 2017 09:41:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1D97A29459; Tue, 5 Dec 2017 09:41:55 +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.4 required=2.0 tests=BAYES_00, DATE_IN_PAST_06_12, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI autolearn=unavailable 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 A442D29455 for ; Tue, 5 Dec 2017 09:41:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753156AbdLEJli (ORCPT ); Tue, 5 Dec 2017 04:41:38 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:46688 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753119AbdLEJlf (ORCPT ); Tue, 5 Dec 2017 04:41:35 -0500 Received: by mail-it0-f66.google.com with SMTP id t1so24591ite.5 for ; Tue, 05 Dec 2017 01:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=areca-com-tw.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:date:message-id:mime-version :content-transfer-encoding; bh=2Rzf00FISYtrXyI88zrgytgCFeNMerJhkKdtrpIDR8s=; b=pLsAwvRhPHOn6CB7wcatDbB/vCYogajGBoBFjBRHDUR9WFa69RBvOcmMlVBT2oR6fn grmd0cuxLlyEn77WjClsjAN4ddcLchGCRK0BdE4TXAbXu15vRHGg6jc9dXLE7ZEUAoAa QmArMu6Wb9YWKbT7WQzU5MJRm4HWL3F3LCFvb2wQ8fRHC7F/T+fme1RhgpeTwdBDAKZO vZwdwcl8ZvtaF3gXRXFG12uuLpv32KwwiPgqTPH+NTROkhTCvaWnrOMHLaUNTpB0ponf 2QMG26gFdxhsS4wrme3vdqPuAph/FLi+em4sLGCq03v09e/lXUKXecs6pO1axXWlMSQa RQTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:date:message-id:mime-version :content-transfer-encoding; bh=2Rzf00FISYtrXyI88zrgytgCFeNMerJhkKdtrpIDR8s=; b=YIU8IWvfMLV4ZP+mKnD4iAsRbQdYSsspnZ8sErvAKnvbtxgP5eeVGWnEqUizxVjgUT 9AIvbXJnu1kmD/IH3SBiUFpi/WT6xU0kmHQdbL7uONhWxWGQaIllomlYwxbzRftkj5+f d7woSUvYm1XZ/cpLRAB+aoFFMAYVRvyiZyOKGUJccYoHZvrFCjNqWFXFM+36909QTDX3 AteM059331gFVVI+aGnvDx5sIifXdaWBQDwIGopM+Ij/kr3IODZV+az8EQ2y8H1zbyXJ jp98XpXUY2wV/eh56WOlSuYbNPGcbtVwE5ouxJ4fx50885rZowyVDRvzOw8IyydYRroQ jlfQ== X-Gm-Message-State: AKGB3mI8ydJj75ZePYFL9Zi2wYAS896r/P82KR6oqBL7VA+VFRaxp8xW I7yUDH2PgvLk8kT+9q8u6Jbjmg== X-Google-Smtp-Source: AGs4zMbNSKB0KV1hwNL8qlgNsEbdwrOL/gUaURyDAdd9Dsf1STQps0tO/WMH5RobdOGjy8JOLR3jvg== X-Received: by 10.36.68.207 with SMTP id o198mr17077713ita.14.1512466894551; Tue, 05 Dec 2017 01:41:34 -0800 (PST) Received: from [192.168.0.105] (60-248-88-209.HINET-IP.hinet.net. [60.248.88.209]) by smtp.gmail.com with ESMTPSA id z27sm14128ita.13.2017.12.05.01.41.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Dec 2017 01:41:33 -0800 (PST) Subject: [PATCH 4/17] scsi: arcmsr: enable host controller command queueu up to 1024 From: Ching Huang To: martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: James.Bottomley@HansenPartnership.com, sfr@canb.auug.org.au Date: Tue, 05 Dec 2017 09:41:25 +0800 Message-ID: <1512438085.4577.42.camel@Centos6.3-64> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 (2.32.3-37.el6) Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ching Huang update ARCMSR_MAX_OUTSTANDING_CMD and ARCMSR_MAX_FREECCB_NUM to 1024 Signed-off-by: Ching Huang diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2017-08-04 11:19:22.000000000 +0800 +++ b/drivers/scsi/arcmsr/arcmsr.h 2017-12-05 15:24:16.000000000 +0800 @@ -45,13 +45,8 @@ #include struct device_attribute; /*The limit of outstanding scsi command that firmware can handle*/ -#ifdef CONFIG_XEN - #define ARCMSR_MAX_FREECCB_NUM 160 -#define ARCMSR_MAX_OUTSTANDING_CMD 155 -#else - #define ARCMSR_MAX_FREECCB_NUM 320 -#define ARCMSR_MAX_OUTSTANDING_CMD 255 -#endif +#define ARCMSR_MAX_FREECCB_NUM 1024 +#define ARCMSR_MAX_OUTSTANDING_CMD 1024 #define ARCMSR_DRIVER_VERSION "v1.30.00.22-20151126" #define ARCMSR_SCSI_INITIATOR_ID 255 #define ARCMSR_MAX_XFER_SECTORS 512