RE: [PATCH 5/7] I/OAT: Add support for MSI and MSI-X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hmm, I see I don't understand what this driver is doing.  
> What is a "struct ioatdma_device"?  Is this driver requesting 
> interrupts that come from the NIC or the IOAT DMA engine?

I might have caused some confusion.  You had asked if any drivers
support MSI but not MSI-X, so I threw 2 drivers out there that currently
support both, and why we support MSI for compatibility.

> Anyway, if the NICs support MSI-X, is there any chance of 
> failing to get one MSI-X vectors but then succeeding in 
> getting MSI enabled?
> How could that happen?  I don't see what falling back to MSI 
> buys you beyond more code.

MSI-X doesn't make much sense if you have 1 Rx queue on your NIC, since
1 vector essentially acts like MSI.  In the case of why MSI-X could
fail, I have had it fail when I misconfigured my driver and didn't ask
for enough vectors for what I was assigning, so the driver disabled the
multiple Rx queues, and fell back to MSI.

I hope this helps.

-PJ
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux