Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move firmware_version to spec from status #214

Closed
wants to merge 1 commit into from

Conversation

jainvipin
Copy link
Contributor

addresses #191 pls review @glimchb @benlwalker
I think it wouldn't be a bad idea to keep firmware_version in both spec and status, so for systems that don't want firwmare version to be dynamic, can allow learning about it using status. I can modify the PR to refelect if you all agree. For now I have kept it out ot status.

Signed-off-by: Vipin Jain jainvipin@gmail.com

Signed-off-by: Vipin Jain <jainvipin@gmail.com>
@jainvipin jainvipin requested a review from a team as a code owner November 21, 2022 22:35
@glimchb glimchb added the Storage APIs or code related to storage area label Nov 21, 2022
@glimchb
Copy link
Member

glimchb commented Nov 21, 2022

@jainvipin can you please clarify the use case again to re-fresh the thread ?

  • who would configure this field ? customer ? like cloud orchestrator ?
  • how one would see this filed afterwards ? like this ?
$ nvme list
Node             SN              Model                Namespace Usage                      Format           FW Rev
---------------- --------------- -------------------- --------- -------------------------- ---------------- --------
/dev/nvme4n1     MY_SERIAL         MY_MODEL             1         524.29  kB /   1.60  TB    512   B +  0 B   2.1.3

and

$ nvme id-ctrl /dev/nvme1n1 | grep fr
fr        : 2.1.3
frmw      : 0x17

@jainvipin
Copy link
Contributor Author

closing this PR in favor of offline discussion; the better method to keep the firmware_revision is to tie it to the method delivering the firmware dynamically to the xPU and take it up in lifecycle provisioning work vs. storage APIs.

@jainvipin jainvipin closed this Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage APIs or code related to storage area
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants