This patch is for testing the port hotplug framework. Signed-off-by: Tetsuya Mukawa <mukawa at igel.co.jp> --- lib/librte_pmd_e1000/em_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/librte_pmd_e1000/em_ethdev.c b/lib/librte_pmd_e1000/em_ethdev.c index 3f2897e..90ec2d7 100644 --- a/lib/librte_pmd_e1000/em_ethdev.c +++ b/lib/librte_pmd_e1000/em_ethdev.c @@ -286,7 +286,8 @@ static struct eth_driver rte_em_pmd = { { .name = "rte_em_pmd", .id_table = pci_id_em_map, - .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC, + .drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC + | RTE_PCI_DRV_DETACHABLE, }, .eth_dev_init = eth_em_dev_init, .dev_private_size = sizeof(struct e1000_adapter), -- 1.9.1