net/mlx5: support device removal event
[dpdk.git] / drivers / net / mlx5 / mlx5.c
index 084df88..32e22df 100644 (file)
@@ -871,7 +871,7 @@ static struct rte_pci_driver mlx5_driver = {
        },
        .id_table = mlx5_pci_id_map,
        .probe = mlx5_pci_probe,
-       .drv_flags = RTE_PCI_DRV_INTR_LSC,
+       .drv_flags = RTE_PCI_DRV_INTR_LSC | RTE_PCI_DRV_INTR_RMV,
 };
 
 /**