In the port detach function, use the function to free an ethdev port instead of changing its state directly. Signed-off-by: Matan Azrad <matan@mellanox.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>