ethdev: deprecate attach and detach functions