ethdev: use device handle to detach