Skip to content

Split nbft header#3282

Merged
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:split-nbft
Apr 16, 2026
Merged

Split nbft header#3282
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:split-nbft

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Apr 16, 2026

Split the NVMe spec part from the library types and rename them. Follow the pattern, thus use libnbft_ as prefix.

@igaw
Copy link
Copy Markdown
Collaborator Author

igaw commented Apr 16, 2026

@tbzatek can you have a look at this?

Copy link
Copy Markdown
Contributor

@tbzatek tbzatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

Comment thread libnvme/src/nvme/nbft-types.h Outdated
@tbzatek
Copy link
Copy Markdown
Contributor

tbzatek commented Apr 16, 2026

FYI: I've added TODO for myself to sync nbft-types.h with the last Boot Spec (if any)

igaw added 2 commits April 16, 2026 18:18
To follow the existing pattern, move the NVMe specification types into a
separate header.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
Follow the existing pattern to different prefixes for the NVMe spec types and
the library API. Thus for nbft, use libnbft_ as prefix.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
@igaw
Copy link
Copy Markdown
Collaborator Author

igaw commented Apr 16, 2026

FWIW, the current spec is at 1.3 but I don't know what has changed.

@igaw igaw merged commit 9a4923b into linux-nvme:master Apr 16, 2026
28 of 29 checks passed
@igaw igaw deleted the split-nbft branch April 16, 2026 16:22
@tbzatek
Copy link
Copy Markdown
Contributor

tbzatek commented Apr 16, 2026

FWIW, the current spec is at 1.3 but I don't know what has changed.

I'm involved in the work group, but never took the time to sync the changes. Not much has changed really, mostly wording and perhaps some extra flags. The nvme-cli connection code doesn't respect many of the flags anyway as actual firmware implementations do not support everything either, having no reference firmware implementation to test the code against.

I'll have a look anyway.

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.

2 participants