xiuyan.w...@sun.com wrote:

/etc/system. But on x86, the total number of interrupt vectors for
interrupt priority 5 is 32 (5 is the default interrupt priority for
network devices), so you can not allocate more interrupts than
32 even with tuning.

With IRM, the above limitation is removed and the allocation algorithm
is more flexible. But for x86, the driver can only allocate more
interrupts for a pci function when the fix of the below CR is available:
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6669984


So, can network devices use more than 32 interrupts when using IRM,
or are we still limited to a total of 32 interrupts for all network
devices, even when using IRM?   Why does Solaris have this limit, and
not Linux or FreeBSD?

In my opinion, it's quite challenging for a IRM-capable driver to handle
the situation of interrupt reclaim when the system is short of interrupt
resources.

Indeed.  Allocating  interrupts is generally one of the
first things a driver does.  At least in my driver, I base the number
of rings off of how many interrupts I am able to use.  Asking a
driver to reconfigure like this is like changing a tire on a moving
automobile.

Drew
_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to