[ofa-general] [PATCH] mthca: Create sysfs entries for MSI-X interrupts if enabled

Roland Dreier rdreier at cisco.com
Mon Oct 20 08:50:30 PDT 2008


 > We needed a way to link IRQs to IB cards. In /proc/interrupts it lists
 > the IRQ and driver module name but when you put in more than one card
 > you can't tell which interrupts belong to which card. Same thing for
 > Connect-X.

Rather than going driver-by-driver I think it would make much more sense
to add MSI/MSI-X information to the /sys/devices/pci<whatever>/
directory in generic code, so go along with the irq attribute that is
already there.  Because if you care about mthca or mlx4, then you're
also going to care about your HBA or NIC, and it doesn't make sense to
duplicate this code over and over.

 - R.



More information about the general mailing list