Thread (56 messages) 56 messages, 3 authors, 2021-03-11

Re: Re: [RFC v4 11/11] vduse: Support binding irq to the specified cpu

From: Yongji Xie <hidden>
Date: 2021-03-05 03:38:00
Also in: linux-fsdevel, netdev

On Fri, Mar 5, 2021 at 11:11 AM Jason Wang [off-list ref] wrote:

On 2021/3/4 4:19 下午, Yongji Xie wrote:
quoted
On Thu, Mar 4, 2021 at 3:30 PM Jason Wang [off-list ref] wrote:
quoted
On 2021/2/23 7:50 下午, Xie Yongji wrote:
quoted
Add a parameter for the ioctl VDUSE_INJECT_VQ_IRQ to support
injecting virtqueue's interrupt to the specified cpu.
How userspace know which CPU is this irq for? It looks to me we need to
do it at different level.

E.g introduce some API in sys to allow admin to tune for that.

But I think we can do that in antoher patch on top of this series.
OK. I will think more about it.

It should be soemthing like
/sys/class/vduse/$dev_name/vq/0/irq_affinity. Also need to make sure
eventfd could not be reused.
Looks like we doesn't use eventfd now. Do you mean we need to use
eventfd in this case?

Thanks,
Yongji
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help