On Wed, Feb 12, 2020 at 05:03:00PM +0800, Jason Wang wrote: > > On 2020/2/11 下午10:00, Michael S. Tsirkin wrote: > > > Yes, it can work but it may bring extra effort when you want to mask a > > > vector which is was shared by a lot of queues. > > > > > > Thanks > > > > > masking should be per vq too. > > > > -- > > > Yes, but if the vector is shard by e.g 16 queues, then all those virtqueues > needs to be masked which is expensive. > > Thanks
I think that's ok - masking is rare. in fact if vectors can be changed atomically I'm no longer sure they are needed, maybe a destructive "disable" which can lose interrupts is enough. -- MST