lkml.org 
[lkml]   [2015]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [dpdk-dev] [PATCH 0/2] uio_msi: device driver
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.


\
 
 \ /
  Last update: 2015-10-02 02:21    [W:0.105 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site