ethdev: add sanity checks in control APIs