nvme: Add constants for the PSDT field in cdw0
authorJohn Baldwin <jhb@FreeBSD.org>
Sat, 23 Mar 2024 00:23:24 +0000 (17:23 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Sat, 23 Mar 2024 00:23:24 +0000 (17:23 -0700)
commitb8cb8dd3625d7396ea98152d89e1e64b16e77bc6
tree499e2458c92af80a867e1d532d88c05230c948ef
parentf21a54d19080510bce279183f4bf07d5315bd179
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
sys/dev/nvme/nvme.h