From patchwork Mon Apr 9 10:04:54 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: 10330951 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 29F8C6020F for ; Mon, 9 Apr 2018 10:05:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EA5028897 for ; Mon, 9 Apr 2018 10:05:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 12F6F28AE0; Mon, 9 Apr 2018 10:05:40 +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 A8E8328897 for ; Mon, 9 Apr 2018 10:05:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751834AbeDIKFj (ORCPT ); Mon, 9 Apr 2018 06:05:39 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:38561 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751662AbeDIKFi (ORCPT ); Mon, 9 Apr 2018 06:05:38 -0400 Received: by mail-qt0-f196.google.com with SMTP id z23so8475369qti.5 for ; Mon, 09 Apr 2018 03:05:38 -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=AscypaI2WfSzncgR9tiyyIzuANb5kCvoH0FDhWi1Kc+P/3Av71fCcgJCmWVl4IIaf1 ag6CXqiguXjQb0v8Qkl6dfNODMSgEZdM7cqZbOLg6VXgUnUgujCIVy6e7ji08mMBBfZT FI2TgWPFgFsdDFVrE5t+CgtTLfIKbMcLdr/9s= 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=Ge268Vs+cW41xEqo7vJHUwnyfbUDwcmsoUVpvDawjUMW9PMrniFa/KGTU4XgW0jFb9 CVO6XF7PFZE/yWcVRv0V30FdWu9LJ0EjZ/wPz5zwQkmZXq+6XZ/vLH8EGdhYg4mY7G2h LEhG1FXuSx1Acj52fPVgI/6dglCI2ZnmF2zOpjriENciCw7/9h6I66ibpp+rMH5KXm44 roVR/bHjWsddYavhD/3xP1s9GkVUjm70gMp4x2fQLdbzM3XLju6BSeToiywfGTneMIoa o+EksuW4XLCfobNPZQum+HtvqnWULCwgiQLebN+A0a6m4epQHfYfWLsZ+tJDdTOB9/MX 6j/w== X-Gm-Message-State: ALQs6tC6QG6MaNTG30C+ABmYfvWDbmLwn8GHUbbdWoveUhatevOPy4NY bsTmCL9Nv6/jmOllzd0joq0BMDGRS2Y= X-Google-Smtp-Source: AIpwx49QGsvxOFvTqPj7zcYJHiUNdVTeHfEPY5ave7HN8u9E9dLTZYh1ZnQLmyehXJxQwsi2M8+eBA== X-Received: by 10.200.22.211 with SMTP id y19mr50793737qtk.216.1523268337661; Mon, 09 Apr 2018 03:05:37 -0700 (PDT) Received: from localhost.localdomain.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id l52sm13856884qtc.45.2018.04.09.03.05.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Apr 2018 03:05:37 -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 v2 07/14] mpt3sas: Increase event log buffer to support 24 port HBA's. Date: Mon, 9 Apr 2018 06:04:54 -0400 Message-Id: <1523268301-14453-8-git-send-email-chaitra.basappa@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1523268301-14453-1-git-send-email-chaitra.basappa@broadcom.com> References: <1523268301-14453-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