I'm not sure whether the output from prtconf helps, but here it is.

The T5120 integrated one:
Hardware properties:
name='ddi-intr-weight' type=int items=1
value=00000023
name='compatible' type=string items=7
value='pciex108e,abcd.108e.0.1' + 'pciex108e,abcd.108e.0' +
'pciex108e,abcd.1' + 'pciex108e,abcd' + 'pciexclass,020000' +
'pciexclass,0200' + 'pci108e,abcd'

The standalone one:
name='compatible' type=string items=13
value='pciex108e,abcd.108e.0.1' + 'pciex108e,abcd.108e.0' +
'pciex108e,abcd.1' + 'pciex108e,abcd' + 'pciexclass,020000' +
'pciexclass,0200' + 'pci108e,abcd.108e.0.1' + 'pci108e,abcd.108e.0' +
'pci108e,0' + 'pci108e,abcd.1' + 'pci108e,abcd' + 'pciclass,020000' +
'pciclass,0200'

If it's a 1G card. Is there a way that I can force it to allocate more
than 2 MSI-X interrupts?

Thanks,
-Evan

Evan Yan wrote:
> Hi Masa,
>
> Thanks for reply.
>
> Is there anyway I can tell it's a 10G or 1G? like any sign on the card
> or any variable's value during the driver attach?
>
> Thanks,
> -Evan
>
> Masa Murayama wrote:
>   
>> ----- Original Message -----
>>   
>>     
>>> Date: Fri, 20 Feb 2009 22:01:05 +0800
>>> From: Evan Yan <[email protected]>
>>> To: [email protected]
>>> Subject: [driver-discuss] How to make nxge interface consume more than 2
>>>     MSI-X interrupts?
>>>
>>>
>>> Hi there,
>>>
>>> To verify a bug, I need some device consuming more than 2 MSI-X
>>> interrupts. I was told that nxge nic card is of that type.
>>>
>>> I have a X4200 M2 box with a nxge card installed, and another T5120
>>> sparc box with integrated nxge interface. I have added "set
>>> ddi_msix_alloc_limit=8" in /etc/system for the two boxes, and added "set
>>> pcplusmp:apic_msix_max=8", "set pcplusmp:apic_multi_msi_max=8" for the
>>> x86 box. However the behavior is not as expected. In the x86 box, the
>>> two nxge instances allocated 2 MSI interrupts for each. In the sparc
>>> box, the two nxge instances allocated 2 MSI-X interrupts.
>>>
>>> Did I miss something? How to make them allocate more than 2 MSI-X
>>> interrupts?
>>>
>>>     
>>>       
>> Which type of nxge card did you use ? 10G or 1G ?
>>
>> For 1G nxge cards, it allocates 2 interrupts per port. It is
>> right behavior.
>>
>> -masa
>>   
>>     
>
>   
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to