ethdev: fix device info getting