[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151001170403.1ba4dad3@urahara>
Date: Thu, 1 Oct 2015 17:04:03 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Alexander Duyck <alexander.duyck@...il.com>
Cc: Avi Kivity <avi@...lladb.com>, dev@...k.org, hjk@...sjkoch.de,
gregkh@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [dpdk-dev] [PATCH 0/2] uio_msi: device driver
On Thu, 1 Oct 2015 16:43:23 -0700
Alexander Duyck <alexander.duyck@...il.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists