From patchwork Fri Mar 30 09:37:17 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: 10317459 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 2002660467 for ; Fri, 30 Mar 2018 09:39:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 114962A55F for ; Fri, 30 Mar 2018 09:39:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 042282A573; Fri, 30 Mar 2018 09:39:30 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, 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 A35E82A55F for ; Fri, 30 Mar 2018 09:39:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbeC3JjX (ORCPT ); Fri, 30 Mar 2018 05:39:23 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:42845 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752232AbeC3JjS (ORCPT ); Fri, 30 Mar 2018 05:39:18 -0400 Received: by mail-qt0-f196.google.com with SMTP id j3so8928970qtn.9 for ; Fri, 30 Mar 2018 02:39:18 -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=RwlPHjTmnJp6cB8EA9yXad1ckoi1WRav0Ys+eZHOehLuXNPUpCSGVhep1UwjSsG6nz +28zact1jCB8kQeDXkc/wFJR6Q+YSYaWTZUx2NDmmxRNQAAWGfuDTtDMiPfVH/1YnaAW Epw2wos3xDR9sOSCDHljCE+8iRFvy+Vm4ibYc= 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=Z0SyzvIC9IfcE76v7xyjOG3OFxK+60XM0fq0EodzMHNYHnprx4xfM/eDCZUBWNyeQ7 9+qHjeLmpZXi/GGIJbmWp4kjxVImOUDaBfraR4SzcipRdDXYlXd23JTQU5WJJluUedDa EbFEN/NgbhwmcIuMAISZZuV3RqEDkuX3TQXUcxvHJURDZt1z9aOBOPbC6N+NOVBmOTsJ zSQG9zFfU4b9Q19mhX/58c2CPtUBGGpbAfDKRg/rDekKY5FsqpapSZuzNbfgGah9akFZ CG1qcUODtvUklLo7Lmv3+c4LYbe+9o2UJzQevOo7VBFUPYu5Y31s+jlaQU7qOVOYw8wl WaJw== X-Gm-Message-State: AElRT7GDT7oxOnr0lL6Z0ugygCDd+kPqCY9HI8k9DRl/pOFVLS1CTiZJ rr4l9Kho4P0tQ5mAKsc6DtII/VGf X-Google-Smtp-Source: AIpwx4/olQnIdoJiqPJ//tc9f1o6GuqtaJeZNKBrujHDS0HZN/+TX1S37huxCHhVr/OmqGjeuU/0bg== X-Received: by 10.237.50.100 with SMTP id y91mr15812016qtd.146.1522402757805; Fri, 30 Mar 2018 02:39:17 -0700 (PDT) Received: from dhcp-10-122-86-193.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id n4sm1125526qkf.29.2018.03.30.02.39.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Mar 2018 02:39:17 -0700 (PDT) From: Chaitra P B To: linux-scsi@vger.kernel.org, stable@vger.kernel.org Cc: suganath-prabu.subramani@broadcom.com, Sathya.Prakash@broadcom.com, sreekanth.reddy@broadcom.com, Chaitra P B Subject: [PATCH 08/15] mpt3sas: Increase event log buffer to support 24 port HBA's. Date: Fri, 30 Mar 2018 15:07:17 +0530 Message-Id: <1522402644-3016-9-git-send-email-chaitra.basappa@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1522402644-3016-1-git-send-email-chaitra.basappa@broadcom.com> References: <1522402644-3016-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