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

Stephen Hemminger
2015-10-02T00:03:55Z

On Thu, 1 Oct 2015 16:43:23 -0700
Alexander Duyck <alexander.duyck@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.