Page MenuHomeFreeBSD

nvmft: The in-kernel NVMe over Fabrics controller
AcceptedPublic

Authored by jhb on Tue, Apr 9, 11:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 4:40 AM
Unknown Object (File)
Fri, Apr 26, 5:56 AM
Unknown Object (File)
Fri, Apr 26, 5:00 AM
Unknown Object (File)
Thu, Apr 18, 7:11 AM
Unknown Object (File)
Fri, Apr 12, 4:26 PM
Unknown Object (File)
Thu, Apr 11, 10:00 PM
Subscribers
None

Details

Reviewers
imp
ken
Summary

This is the server (target in SCSI terms) for NVMe over Fabrics.
Userland is responsible for accepting a new queue pair and receiving
the initial Connect command before handing the queue pair off via an
ioctl to this CTL frontend.

This frontend exposes CTL LUNs as NVMe namespaces to remote hosts.
Users can ask LUNS to CTL that can be shared via either iSCSI or
NVMeoF.

Sponsored by: Chelsio Communications

Diff Detail

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

Event Timeline

jhb requested review of this revision.Tue, Apr 9, 11:04 PM
jhb created this revision.

Nothing bad stood out, but the size of this makes it hard to review carefully.

sys/dev/nvmf/controller/ctl_frontend_nvmf.c
128

For NDA the LUN == NSID. Does the mismatch matter in this context?

This revision is now accepted and ready to land.Sat, Apr 13, 8:23 PM

This is indeed a large change, but it's not really feasible to split it up further. :(

sys/dev/nvmf/controller/ctl_frontend_nvmf.c
128

No. CTL LUNs start at 0, but NVMe namespaces start at 1, so I can't reuse CTL LUNs directly.