ethdev: extract checking queue id into common functions