HomeFreeBSD

nvme: Add constants for the PSDT field in cdw0

Description

nvme: Add constants for the PSDT field in cdw0

This is not used in nvme(4) but is used in NVMe over Fabrics
transports which use SGLs to describe buffers instead of PRPs.

While here, adjust the shift value for the FUSE field to be relative
to the 'fuse' member of 'struct nvme_command'.

Reviewed by: imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D44443

(cherry picked from commit b8cb8dd3625d7396ea98152d89e1e64b16e77bc6)

Details

Provenance
jhbAuthored on Mar 23 2024, 12:23 AM
Reviewer
imp
Differential Revision
D44443: nvme: Add constants for the PSDT field in cdw0.
Parents
rG1e066e460403: nvme: Add SGL structure and constants for use in NVMe commands
Branches
Unknown
Tags
Unknown