vfio/pci: Pass eventfd context object through irqfd
authorAlex Williamson <alex.williamson@redhat.com>
Mon, 1 Apr 2024 19:54:03 +0000 (13:54 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 22 Apr 2024 22:50:14 +0000 (16:50 -0600)
commitd530531936482f97b7b3784793d3514185b820d4
tree2cdc48c1b9b16ece92af4728cd3003959b657352
parent071e7310e69368de551388088827c57df05f59aa
vfio/pci: Pass eventfd context object through irqfd

Further avoid lookup of the context object by passing it through the
irqfd data field.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240401195406.3720453-3-alex.williamson@redhat.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci_intrs.c