diff options
author | Evan Yan <Evan.Yan@Sun.COM> | 2009-02-28 00:10:54 +0800 |
---|---|---|
committer | Evan Yan <Evan.Yan@Sun.COM> | 2009-02-28 00:10:54 +0800 |
commit | 63ea9ad24896f2939472f8f96f568086d190eb33 (patch) | |
tree | 4a6f7e7732b4f65f37e0571ba013b932ac659c1e /usr/src/uts/common/sys/ddi_intr_impl.h | |
parent | ccba08015a17f88186762dd6d9f91195adb387e8 (diff) | |
download | illumos-gate-63ea9ad24896f2939472f8f96f568086d190eb33.tar.gz |
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
Diffstat (limited to 'usr/src/uts/common/sys/ddi_intr_impl.h')
-rw-r--r-- | usr/src/uts/common/sys/ddi_intr_impl.h | 12 |
1 files changed, 3 insertions, 9 deletions
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); |