From 63ea9ad24896f2939472f8f96f568086d190eb33 Mon Sep 17 00:00:00 2001 From: Evan Yan Date: Sat, 28 Feb 2009 00:10:54 +0800 Subject: 6794643 Interrupt to cpu binding should default to round robin for x64 OOBP 6795799 apic_msix_max should default to 8 for 10GbE out of box performance 6796665 dynamically adjust MSIX maximum allocation limit to 8 and higher on sparc 6763643 apic_delspl_common disables MSI incorrectly --- usr/src/uts/common/sys/ddi_intr_impl.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'usr/src/uts/common/sys/ddi_intr_impl.h') diff --git a/usr/src/uts/common/sys/ddi_intr_impl.h b/usr/src/uts/common/sys/ddi_intr_impl.h index 4430de7578..71c1d1849d 100644 --- a/usr/src/uts/common/sys/ddi_intr_impl.h +++ b/usr/src/uts/common/sys/ddi_intr_impl.h @@ -137,15 +137,12 @@ typedef struct ddi_intr_handle_impl { /* Maximum number of MSI resources to allocate */ #define DDI_MAX_MSI_ALLOC 2 -/* - * The following MSI-X limits will change with Interrupt Resource Management - * (IRM) support. - */ /* Default number of MSI-X resources to allocate */ #define DDI_DEFAULT_MSIX_ALLOC 2 -/* Maximum number of MSI-X resources to allocate */ -#define DDI_MAX_MSIX_ALLOC 8 +#define DDI_MSIX_ALLOC_DIVIDER 32 +#define DDI_MIN_MSIX_ALLOC 8 +#define DDI_MAX_MSIX_ALLOC 2048 struct av_softinfo; @@ -261,7 +258,6 @@ typedef struct ddi_irm_req { typedef struct ddi_irm_params { int iparams_types; /* Types of interrupts in pool */ uint_t iparams_total; /* Total size of the pool */ - uint_t iparams_default; /* Default allocation size */ } ddi_irm_params_t; /* @@ -345,8 +341,6 @@ int i_ddi_get_msi_msix_cap_ptr(dev_info_t *dip); void i_ddi_set_msi_msix_cap_ptr(dev_info_t *dip, int cap_ptr); #endif -uint_t i_ddi_get_msix_alloc_limit(dev_info_t *dip); - int32_t i_ddi_get_intr_weight(dev_info_t *); int32_t i_ddi_set_intr_weight(dev_info_t *, int32_t); -- cgit v1.2.3