bus/fslmc: enable link status interrupt
authorHemant Agrawal <hemant.agrawal@nxp.com>
Sat, 16 Sep 2017 10:52:29 +0000 (16:22 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 01:24:17 +0000 (03:24 +0200)
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/fslmc_vfio.c

index dcb34ca..7831201 100644 (file)
@@ -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: