lkml.org 
[lkml]   [2015]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 1/4] uio: add ioctl support
From
Date


On 10/07/15 21:05, Stephen Hemminger wrote:
>
> Thinking more of a custom filesystem like configfs
>

Why would configfs be better?
I imagine the final files layout as follows: uioY device that would have
enabled MSI-X would have a separate uio/uioY/msix/irqZ for each IRQ[Z]
MSI-X vector.
And this under the same roof with uio/uioY/maps/mapK files.

We then need to implement the write() method for irqZ files so that it
would accept the eventfd and bind it (or unbind if the value is negative).
We may also make read() return not only the currently bond eventfd
descriptor but also the corresponding MSI-X IRQ number.




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