]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/tap/rte_eth_tap.c
examples/flow_filtering: remove VLAN item
[dpdk.git] / drivers / net / tap / rte_eth_tap.c
index 4905c08fcb52cb17498235c50b50a86094ca6bf4..e7817e89614cf40ad6ac029348a2faee9542f37c 100644 (file)
@@ -2265,7 +2265,7 @@ rte_pmd_tap_remove(struct rte_vdev_device *dev)
        eth_dev->data->mac_addrs = NULL;
 
        if (rte_eal_process_type() != RTE_PROC_PRIMARY)
-               return rte_eth_dev_release_port_secondary(eth_dev);
+               return rte_eth_dev_release_port(eth_dev);
 
        internals = eth_dev->data->dev_private;
        process_private = eth_dev->process_private;