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

From: Stephen Hemminger
Date: Thu Oct 01 2015 - 20:03:58 EST


On Thu, 1 Oct 2015 16:43:23 -0700
Alexander Duyck <alexander.duyck@xxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/