I am using memif devices in my project. As you know memif's are the eth devices in dpdk. When I am ending my application, I am stopping, disable promiscuous mode and closing memif eth devices. This is the sequence I fallow;
rte_eth_dev_stop(portId);
rte_eth_promiscuous_disable(portId);
rte_eth_dev_close(portId);
Eth device gives error Unknown error -95 (-95) in rte_eth_dev_stop(portId) and same error no at rte_eth_promiscuous_disable() function. Besides I get the memif_disconnect(): Failed to unregister control channel callback error. But rte_eth_dev_close() return success. I don't know what am I doing wrong ? Maybe the closing sequence could be wrong.
I would be very appreciated if you guide me about that issue. Best regards.