Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2019 09:29:01 +0000 (UTC)
From:      Kashyap D Desai <kadesai@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345058 - head/sys/dev/mrsas
Message-ID:  <201903120929.x2C9T1Dp017729@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kadesai
Date: Tue Mar 12 09:29:01 2019
New Revision: 345058
URL: https://svnweb.freebsd.org/changeset/base/345058

Log:
  Allocated MFI frames should be same as MPT frames reserved for DCMDs
  
  Submitted by: Sumit Saxena <sumit.saxena@broadcom.com>
  Reviewed by:  Kashyap Desai <Kashyap.Desai@broadcom.com>
  Approved by:  Ken
  MFC after:  3 days
  Sponsored by:   Broadcom Inc

Modified:
  head/sys/dev/mrsas/mrsas.c

Modified: head/sys/dev/mrsas/mrsas.c
==============================================================================
--- head/sys/dev/mrsas/mrsas.c	Tue Mar 12 09:27:37 2019	(r345057)
+++ head/sys/dev/mrsas/mrsas.c	Tue Mar 12 09:29:01 2019	(r345058)
@@ -2558,8 +2558,7 @@ mrsas_init_adapter(struct mrsas_softc *sc)
 
 	/* Decrement the max supported by 1, to correlate with FW */
 	sc->max_fw_cmds = sc->max_fw_cmds - 1;
-	sc->max_scsi_cmds = sc->max_fw_cmds -
-	    (MRSAS_FUSION_INT_CMDS + MRSAS_MAX_IOCTL_CMDS);
+	sc->max_scsi_cmds = sc->max_fw_cmds - MRSAS_MAX_MFI_CMDS;
 
 	/* Determine allocation size of command frames */
 	sc->reply_q_depth = ((sc->max_fw_cmds + 1 + 15) / 16 * 16) * 2;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903120929.x2C9T1Dp017729>