From patchwork Thu Apr 5 15:46:30 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: 10324843 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 0E7A26053F for ; Thu, 5 Apr 2018 15:47:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF61020CCF for ; Thu, 5 Apr 2018 15:47:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E43BD27F2B; Thu, 5 Apr 2018 15:47:52 +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 8DA7E20CCF for ; Thu, 5 Apr 2018 15:47:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751503AbeDEPre (ORCPT ); Thu, 5 Apr 2018 11:47:34 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:39347 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470AbeDEPrd (ORCPT ); Thu, 5 Apr 2018 11:47:33 -0400 Received: by mail-wm0-f67.google.com with SMTP id f125so8417439wme.4 for ; Thu, 05 Apr 2018 08:47:32 -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=JNXc/p46qfzWFEEufhBe40uYUjl2ooUhDnrg3J+cOJQhuQGndTOcjcPL0didK4QzP+ JUF8vq5gVUuIoxFP0Vp8B/JUvh8KECDuifCi9ec9S0kwKiuypzXAsYIUr/TaBbGQcx/H RwceCxyMhCxAIjbFp68VcSceGLFsoUK0298iQ= 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=rYcH1GYlemqnWpLtRMJJmEQZB7GKSHddfA2l1RtL1FXO1zDdzzw9x7dMy2aqgtN4es DV9YtkH4DsAoCLL/gD5Lx7vMq0vIxP8jOnaB1JXoPzpfRuija15Y0U5NjHK2THX/P4Ox pcrn2kpw1t9K3kIe63JwuLnql3lhnBYxgf3tZOXStUy+4eVs2hIIZ50E/KNH38BDgxHG Z8mQRQSzmkEqXiA2/JyvJVujmlWy92DS5CE20tISLnIWZcuKB5oDj2KmqpXLYhRjgkgE Xii+fI89jdPwPKn/pg38w8QOnbvj70lQ8YKSlqodQZ6DMev9cIuT0XVQ+tc9dGVde+lL GM8A== X-Gm-Message-State: ALQs6tD9r1R+CywCG+P/UAvyQbw5i26Mn/JQRpdt7jF9jyq2JOGY2A2a KR7i3nXdotGnOykOBDdwLc6pBmTL X-Google-Smtp-Source: AIpwx48z2ncUMkRHI0BRWLZeoXRQwqDkEc+3JZ1MrnHV94k0h68pePRpnocM2AqeR6MFdNP998gd8w== X-Received: by 10.80.180.216 with SMTP id x24mr3449448edd.126.1522943251839; Thu, 05 Apr 2018 08:47:31 -0700 (PDT) Received: from localhost.localdomain.localdomain ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id p91sm4745777edp.65.2018.04.05.08.47.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 08:47:31 -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 v1 08/15] mpt3sas: Increase event log buffer to support 24 port HBA's. Date: Thu, 5 Apr 2018 11:46:30 -0400 Message-Id: <1522943197-5408-9-git-send-email-chaitra.basappa@broadcom.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1522943197-5408-1-git-send-email-chaitra.basappa@broadcom.com> References: <1522943197-5408-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