mbox series

[0/2] vfio/pci: Improve INTx opaque data use

Message ID 20240401195406.3720453-1-alex.williamson@redhat.com (mailing list archive)
Headers show
Series vfio/pci: Improve INTx opaque data use | expand

Message

Alex Williamson April 1, 2024, 7:54 p.m. UTC
Now that the interrupt handler and eventfd context object are persistent
across the configuration of INTx, make better use of the opaque data
fields when registering the IRQ and irqfd to avoid lookup of the eventfd
context object.  No functional change intended.  Thanks,

Alex

Alex Williamson (2):
  vfio/pci: Pass eventfd context to IRQ handler
  vfio/pci: Pass eventfd context object through irqfd

 drivers/vfio/pci/vfio_pci_intrs.c | 57 +++++++++++++------------------
 1 file changed, 24 insertions(+), 33 deletions(-)