Displaying 1 result from an estimated 1 matches for "vdpa_devm_alloc_irq".
2020 Jul 28
0
[PATCH V4 4/6] vhost_vdpa: implement IRQ offloading in vhost_vdpa
...ach of the above should be not a lot of coding. I think method 3 is
partially done in your previous series but in an implicit manner:
- bus driver that has alloc_irq/free_irq implemented could be implicitly
treated as consumer registering
- every vDPA device driver could be treated as producer
- vdpa_devm_alloc_irq() could be treated as producer registering
- alloc_irq/free_irq is the add_producer/del_procuer
We probably just lack some synchronization with driver probe/remove.
> and how can they match if two individual adapters both have vq idx = 1.
The matching is per vDPA device.
Thanks
> Than...