Re: [RFC 1/2] virtio-net: disable the configure interrupt for not support device

2024-03-26 Thread Jason Wang
On Wed, Mar 27, 2024 at 9:29 AM Cindy Lu wrote: > > Only the vdpa device support configure interrupt, we need to disable the > configure interrupt process in all other device. I think we need to tweak the terminology here at least. It's not about configure interrupt, it's about whether or not

[RFC 1/2] virtio-net: disable the configure interrupt for not support device

2024-03-26 Thread Cindy Lu
Only the vdpa device support configure interrupt, we need to disable the configure interrupt process in all other device. In order to achieve this, I added a check in the virtio_net_device_realize(). When the peer's type is vdpa, the value of config_irq_enabled in the structure VirtIODevice will