From patchwork Tue Apr 24 09:28:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaitra P B X-Patchwork-Id: 10359081 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 B2F256054A for ; Tue, 24 Apr 2018 09:29:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A66B128D04 for ; Tue, 24 Apr 2018 09:29:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9992F28D3B; Tue, 24 Apr 2018 09:29:28 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, 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 203DB28D04 for ; Tue, 24 Apr 2018 09:29:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753906AbeDXJ31 (ORCPT ); Tue, 24 Apr 2018 05:29:27 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:39138 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753553AbeDXJ3W (ORCPT ); Tue, 24 Apr 2018 05:29:22 -0400 Received: by mail-qt0-f193.google.com with SMTP id f1-v6so3923408qtj.6 for ; Tue, 24 Apr 2018 02:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MqUjyShD89HNv7mIxoLuDI3oq1hg/ohvp441R9alSRE=; b=EuW8lUIQIZQpGM52Xhc9kgUhip66HoBVoty6Px61gW497OlsMWGSLk4Pd7tyEf20Hk AMn+d1H0ks0LvQvyCnyOLh9O52hBtLOQRb8+D+tFW2a2iQkE+fvQvKMNyUC1U6WySfTb DbON7N/k9yQw+ceUKA6YHrZ4uEHG0oV8YAya4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MqUjyShD89HNv7mIxoLuDI3oq1hg/ohvp441R9alSRE=; b=cNu95/LPObrGqwlIvCkxDfpxssZOnFAfX/cyA6N5KV7P1OfwTvy+pTHomdqSZ08KiZ DA9bG7MJHuzmHz6oaPFPi0IqXaxCu9z0hslCf42B9eIc5gVEj+/etCH2WDXRnz5cg0KB e1DYsQxAtBE9OJ57RewNK1r86+jLvSg0ym8YDAbjJNViG0fOfKRwT6NkWvt0prO0TqCq 7kAaiNT99XfavzRI3knwtELssx9vv4Ljm8d+XsSQzwggoo8q6HXfHugd84Ub9ajqJIus GPfyzwkR01YRaT88had6fQ6uvepbF9bcf+jMmVWKc/EBpHdpCGOOZcSeNA4cC2vNDkMI kAqg== X-Gm-Message-State: ALQs6tBXqjeHvkHVeo1yuDIMCtf5Qc7UwSox4OTFKZrHUrOeIj6OrUTD qOgKGCWSDCGzBJTckKtq615BJKijWQo= X-Google-Smtp-Source: AB8JxZrNSwrAgNM0uNGOTSUJvdAmCurxrf6+8sVZWXLFFiF8Q+7MipcgQggtah1ZdcpvGyH80tJfWQ== X-Received: by 10.12.181.130 with SMTP id g2mr3326461qve.175.1524562161227; Tue, 24 Apr 2018 02:29:21 -0700 (PDT) Received: from localhost.localdomain.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id 96sm12615184qkx.71.2018.04.24.02.29.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 02:29:20 -0700 (PDT) From: Chaitra P B To: linux-scsi@vger.kernel.org Cc: Sathya.Prakash@broadcom.com, sreekanth.reddy@broadcom.com, suganath-prabu.subramani@broadcom.com, Chaitra P B Subject: [PATCH v3 07/14] mpt3sas: Increase event log buffer to support 24 port HBA's. Date: Tue, 24 Apr 2018 05:28:36 -0400 Message-Id: <1524562123-33229-8-git-send-email-chaitra.basappa@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1524562123-33229-1-git-send-email-chaitra.basappa@broadcom.com> References: <1524562123-33229-1-git-send-email-chaitra.basappa@broadcom.com> 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 For 24 port HBA's events generated by IOC are more in certain cases and the current circular buffer may be overwritten.Hence increased the event log buffer to accommodate more events. Signed-off-by: Chaitra P B Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_ctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_ctl.h b/drivers/scsi/mpt3sas/mpt3sas_ctl.h index a44046c..18b46fa 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.h +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.h @@ -184,7 +184,7 @@ struct mpt3_ioctl_iocinfo { /* number of event log entries */ -#define MPT3SAS_CTL_EVENT_LOG_SIZE (50) +#define MPT3SAS_CTL_EVENT_LOG_SIZE (200) /** * struct mpt3_ioctl_eventquery - query event count and type