ethdev: avoid explicit check of valid port state