[dpdk-dev] [PATCH 0/2] uio_msi: device driver

Stephen Hemminger stephen at networkplumber.org
Fri Oct 2 02:04:03 CEST 2015


On Thu, 1 Oct 2015 16:43:23 -0700
Alexander Duyck <alexander.duyck at gmail.com> wrote:

> Yes, but in the case of something like a VF it is going to just make a 
> bigger mess of things since INTx doesn't work.  So what would you expect 
> your driver to do in that case?  Also we have to keep in mind that the 
> MSI-X failure case is very unlikely.
> 
> One other thing that just occurred to me is that you may want to try 
> using the range allocation call instead of a hard set number of 
> interrupts.  Then if you start running short on vectors you don't hard 
> fail and instead just allocate what you can.

I tried that but the bookkeeping gets messy since there is no good
way to communicate that back to userspace and have it adapt.


More information about the dev mailing list