Skip to content

ocp: Fix OCP telemetry timestamp field decode - #4170

Closed
jeff-lien-sndk wants to merge 2 commits into
linux-nvme:masterfrom
SanDisk-Open-Source:timestamp-decode-fix
Closed

jeff-lien-sndk wants to merge 2 commits into
linux-nvme:masterfrom
SanDisk-Open-Source:timestamp-decode-fix

Conversation

@jeff-lien-sndk

Copy link
Copy Markdown
Contributor

The decoded timestamp value is incorrect because bytes 6 and 7 of the timestamp field used for timestamp attributes are not masked off.

test: cover OCP telemetry timestamp attributes
Added test with non-zero values in timestamp bytes 6 and 7 to verify change.

The decoded timestamp value is incorrect because bytes 6 and 7
of the timestamp field used for timestamp attributes are not
masked off.

test: cover OCP telemetry timestamp attributes

Added test with non-zero values in timestamp bytes
6 and 7 to verify change.

Signed-off-by: Jeff Lien <jeff.lien@sandisk.com>
Reviewed-by: Brandon Paupore <brandon.paupore@sandisk.com>
@igaw

igaw commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Could you rebase the branch, there is a conflict. Thanks!

@jeff-lien-sndk

Copy link
Copy Markdown
Contributor Author

Could you rebase the branch, there is a conflict. Thanks!

Rebased and resolved the conflict. Sorry I didn't notice it when I created the PR.

Comment thread src/field-parser.c
@igaw igaw closed this Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants