Page MenuHomeFreeBSD

nvmf.h: New header defining ioctls for NVMe over Fabrics
ClosedPublic

Authored by jhb on Apr 9 2024, 11:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 6:36 PM
Unknown Object (File)
Mon, Oct 21, 1:41 PM
Unknown Object (File)
Oct 18 2024, 5:04 AM
Unknown Object (File)
Oct 6 2024, 9:22 AM
Unknown Object (File)
Oct 1 2024, 1:19 PM
Unknown Object (File)
Oct 1 2024, 12:36 PM
Unknown Object (File)
Sep 30 2024, 5:20 PM
Unknown Object (File)
Sep 30 2024, 3:37 AM
Subscribers

Details

Summary

This defines structures, ioctl commands, and related constants used
for both the Fabrics host and controller.

Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 57510
Build 54398: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Apr 9 2024, 11:03 PM

One nit... also applies to all of this series of reviews: consider omitting the license boilerplate.

sys/dev/nvme/nvme.h
47

won't line numbers go stale quickly?

This revision is now accepted and ready to land.Apr 13 2024, 5:53 PM
In D44706#1020670, @imp wrote:

One nit... also applies to all of this series of reviews: consider omitting the license boilerplate.

Hmm, are we ready to do that? I know we have some SPDX-only files in the tree and are kind of allowing it, but I wasn't sure we'd crossed the point to preferring that by default.

sys/dev/nvme/nvme.h
47

Not the line number, the constant 200 as the second argument to _IO*

In D44706#1021491, @jhb wrote:
In D44706#1020670, @imp wrote:

One nit... also applies to all of this series of reviews: consider omitting the license boilerplate.

Hmm, are we ready to do that? I know we have some SPDX-only files in the tree and are kind of allowing it, but I wasn't sure we'd crossed the point to preferring that by default.

hence my suggesting that you consider it: it's an option....

sys/dev/nvme/nvme.h
47

Oh! That's a note for reserved future use...

Add NVMF_DISCONNECT_HOST and NVMF_DISCONNECT_ALL ioctls for /dev/nvmf

This revision now requires review to proceed.May 1 2024, 8:58 PM

Add NVMF_DISCONNECT_HOST and NVMF_DISCONNECT_ALL ioctls for /dev/nvmf

Switch to SPDX-only license blocks for C files

Do we want to omit license blocks in manpages as well as C source? I've left them in the manpages for now.

This revision was not accepted when it landed; it landed in state Needs Review.May 3 2024, 12:16 AM
This revision was automatically updated to reflect the committed changes.