Microsemi / switchtec-kernel

A kernel module for the Microsemi PCIe switch
GNU General Public License v2.0
45 stars 31 forks source link

MSIX support in Switchtec driver #99

Closed alfonder closed 3 years ago

alfonder commented 3 years ago

AMD and Intel NTB hw drivers use MSIX and allocate multiple interrupt vectors. Meanwhile Switchtec driver allocates PCI IRQ vector and thus DB vector count is always 1. Is there a way to modify Switchtec driver that it could use multiple MSIX vectors?

lsgunth commented 3 years ago

Not sure where you get that idea. The switchtec driver does use MSIX vectors.

See https://github.com/Microsemi/switchtec-kernel/blob/f86407a0160e8d5ec3d288707c4a88be077991a2/switchtec.c#L1491