ethdev: check for invalid device name