MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mbox_unregister_vf_irq

Function mbox_unregister_vf_irq

dpdk/drivers/common/cnxk/roc_dev.c:937–948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935}
936
937static void
938mbox_unregister_vf_irq(struct plt_pci_device *pci_dev, struct dev *dev)
939{
940 struct plt_intr_handle *intr_handle = pci_dev->intr_handle;
941
942 /* Clear irq */
943 plt_write64(~0ull, dev->bar2 + RVU_VF_INT_ENA_W1C);
944
945 /* Unregister the interrupt handler */
946 dev_irq_unregister(intr_handle, roc_pf_vf_mbox_irq, dev,
947 RVU_VF_INT_VEC_MBOX);
948}
949
950void
951dev_mbox_unregister_irq(struct plt_pci_device *pci_dev, struct dev *dev)

Callers 1

dev_mbox_unregister_irqFunction · 0.85

Calls 1

dev_irq_unregisterFunction · 0.85

Tested by

no test coverage detected