From: Hemant Agrawal Date: Sat, 16 Sep 2017 10:52:29 +0000 (+0530) Subject: bus/fslmc: enable link status interrupt X-Git-Tag: spdx-start~1760 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a2e53a11fe1f28a7ebc4bdfbc7839d8dd6813cbc;p=dpdk.git bus/fslmc: enable link status interrupt Signed-off-by: Hemant Agrawal --- diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index dcb34ca125..7831201adf 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: