[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-commits-all
Subject: svn commit: r344661 - head/sys/dev/isp
From: Alexander Motin <mav () FreeBSD ! org>
Date: 2019-02-28 15:36:03
Message-ID: 201902281536.x1SFa3Tb015486 () repo ! freebsd ! org
[Download RAW message or body]
Author: mav
Date: Thu Feb 28 15:36:03 2019
New Revision: 344661
URL: https://svnweb.freebsd.org/changeset/base/344661
Log:
Limit 24xx adapters to only one MSI-X interrupt by default.
These are 4Gb/s and pretty old and slow now, so I see no reason to fight
for their performance over stability.
PR: 233654
MFC after: 1 week
Sponsored by: iXsystems, Inc.
Modified:
head/sys/dev/isp/isp_pci.c
Modified: head/sys/dev/isp/isp_pci.c
==============================================================================
--- head/sys/dev/isp/isp_pci.c Thu Feb 28 15:24:00 2019 (r344660)
+++ head/sys/dev/isp/isp_pci.c Thu Feb 28 15:36:03 2019 (r344661)
@@ -1910,7 +1910,7 @@ isp_pci_irqsetup(ispsoftc_t *isp)
ISP_UNLOCK(isp);
if (ISP_CAP_MSIX(isp)) {
- max_irq = IS_26XX(isp) ? 3 : 2;
+ max_irq = IS_26XX(isp) ? 3 : (IS_25XX(isp) ? 2 : 1);
resource_int_value(device_get_name(dev),
device_get_unit(dev), "msix", &max_irq);
max_irq = imin(ISP_MAX_IRQS, max_irq);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic