diff mbox series

[v3,15/27] bus/fslmc: enable link status interrupt

Message ID 1505559161-29222-16-git-send-email-hemant.agrawal@nxp.com
State New
Headers show
Series NXP DPAA2 PMD updates | expand

Commit Message

Hemant Agrawal Sept. 16, 2017, 10:52 a.m. UTC
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

---
 drivers/bus/fslmc/fslmc_vfio.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.7.4
diff mbox series

Patch

diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c
index b2413c2..de08e1f 100644
--- a/drivers/bus/fslmc/fslmc_vfio.c
+++ b/drivers/bus/fslmc/fslmc_vfio.c
@@ -464,6 +464,10 @@  fslmc_process_iodevices(struct rte_dpaa2_device *dev)
 	}
 
 	switch (dev->dev_type) {
+	case DPAA2_ETH:
+		rte_dpaa2_vfio_setup_intr(&dev->intr_handle, dev_fd,
+					  device_info.num_irqs);
+		break;
 	case DPAA2_CON:
 	case DPAA2_IO:
 	case DPAA2_CI: