Re: [osol-discuss] MSIX interrupt allocation

2009-03-19 Thread Tom Chen
From: "Aubrey Li" To: "Tom Chen" Cc: "Paul Durrant" ; "Liu, Jiang" ; Sent: Wednesday, March 18, 2009 8:41 PM Subject: Re: [osol-discuss] MSIX interrupt allocation On Thu, Mar 19, 2009 at 6:10 AM, Tom Chen wrote: Paul, Thank you for your advice,

Re: [osol-discuss] MSIX interrupt allocation

2009-03-19 Thread Paul Durrant
Tom Chen wrote: Thank you for your advice, I just added "set ddi_msix_alloc_limit = 8" to the bottom of /etc/system, but doesn't work, still 2 vectors. Do I need to do something extra in my interrupt allocation code? Is there any code in OpenSolaris can be a good reference? Here's what I

Re: [osol-discuss] MSIX interrupt allocation

2009-03-18 Thread Aubrey Li
On Thu, Mar 19, 2009 at 2:03 PM, Liu, Jiang wrote: > Hi Tom, >        Some other points to check: >        1) Does your deivce supoort MSI or MSI-X? If it's MSI interupt, then > our workaround doesn't work. A quick look and found nge_enable_msi = FALSE. Can you double check in kmdb? BTW, I'm n

Re: [osol-discuss] MSIX interrupt allocation

2009-03-18 Thread Liu, Jiang
;Paul Durrant" ; "Liu, Jiang" > ; > Sent: Wednesday, March 18, 2009 8:41 PM > Subject: Re: [osol-discuss] MSIX interrupt allocation > > >> On Thu, Mar 19, 2009 at 6:10 AM, Tom Chen >> wrote: >>> Paul, >>> >>> Thank you for yo

Re: [osol-discuss] MSIX interrupt allocation

2009-03-18 Thread Aubrey Li
On Thu, Mar 19, 2009 at 6:10 AM, Tom Chen wrote: > Paul, > > Thank you for your advice, I just added "set ddi_msix_alloc_limit = 8" to > the bottom of /etc/system, but doesn't work, still 2 vectors. Do I need to > do something extra in my interrupt allocation code? Is there any code in > OpenSolar

Re: [osol-discuss] MSIX interrupt allocation

2009-03-18 Thread Tom Chen
- Original Message - From: "Paul Durrant" To: "Tom Chen" Cc: "Liu, Jiang" ; "Aubrey Li" ; Sent: Wednesday, March 18, 2009 8:01 AM Subject: Re: [osol-discuss] MSIX interrupt allocation Tom Chen wrote: To allocate more than two MSI-X interrupt

Re: [osol-discuss] MSIX interrupt allocation

2009-03-18 Thread Paul Durrant
Tom Chen wrote: To allocate more than two MSI-X interrupts for a device on x86 system, you may use kmdb or /etc/system to override value of ddi_msix_alloc_limit.(I haven't test it, just in theory it should work.) I've run with the override in /etc/system for a while now and it's fine. One o

Re: [osol-discuss] MSIX interrupt allocation

2009-03-18 Thread Tom Chen
- Original Message - From: "Liu, Jiang" To: "Tom Chen" ; "Aubrey Li" Cc: Sent: Tuesday, March 17, 2009 9:08 PM Subject: RE: [osol-discuss] MSIX interrupt allocation Hi Tom, On onnv build version with IRM(interrupt resouce management), there is special code

Re: [osol-discuss] MSIX interrupt allocation

2009-03-17 Thread Liu, Jiang
> > Tom > > > - Original Message - > From: "Liu, Jiang" > To: "Tom Chen" ; "Aubrey Li" > Cc: > Sent: Tuesday, March 17, 2009 9:08 PM > Subject: RE: [osol-discuss] MSIX interrupt allocation > > > Hi Tom, > On onnv

Re: [osol-discuss] MSIX interrupt allocation

2009-03-17 Thread Liu, Jiang
- > From: "Aubrey Li" > To: "Tom Chen" > Cc: > Sent: Tuesday, March 17, 2009 12:26 AM > Subject: Re: [osol-discuss] MSIX interrupt allocation > > > Hi Tom, > > Which build are you using? > Please take a look at PSARC/2007/453 MSI-X inter

Re: [osol-discuss] MSIX interrupt allocation

2009-03-17 Thread Tom Chen
x86 server running nv107 OS, the number of MSI interrupts I can get remains 2. I am wondering if this method obsolete? Tom - Original Message - From: "Aubrey Li" To: "Tom Chen" Cc: Sent: Tuesday, March 17, 2009 12:26 AM Subject: Re: [osol-discuss] MSIX interru

Re: [osol-discuss] MSIX interrupt allocation

2009-03-17 Thread Tom Chen
Aubrey, Your information is really helpful! Thanks a lot! Tom - Original Message - From: "Aubrey Li" To: "Tom Chen" Cc: Sent: Tuesday, March 17, 2009 12:26 AM Subject: Re: [osol-discuss] MSIX interrupt allocation Hi Tom, Which build are you using? Please

Re: [osol-discuss] MSIX interrupt allocation

2009-03-17 Thread Aubrey Li
Hi Tom, Which build are you using? Please take a look at PSARC/2007/453 MSI-X interrupt limit override. Thanks, -Aubrey Intel OpenSolaris Team On Tue, Mar 17, 2009 at 8:38 AM, Tom Chen wrote: > Hi, > > I am using ddi_intr_alloc to allocate MSIX interrupt handles, I am requesting > 9, however,

[osol-discuss] MSIX interrupt allocation

2009-03-16 Thread Tom Chen
Hi, I am using ddi_intr_alloc to allocate MSIX interrupt handles, I am requesting 9, however, why the actual number is always 2 on both Sparc and x86 machines? intr_type=DDI_INTR_TYPE_MSIX; /* * Get number of supported interrupts */ rc = ddi_intr_get_nintrs(devinfo, intr_type, &count); /*