HomeFreeBSD

nvme: Tidy up transfer rate settings in XPT_GET_TRAN_SETTINGS.

Description

nvme: Tidy up transfer rate settings in XPT_GET_TRAN_SETTINGS.

  • Replace a magic number with CTS_NVME_VALID_SPEC.
  • Set the transport and protocol versions the same as for XPT_PATH_INQ.

Probably we shouldn't bother with setting the version in the 'spec'
member of ccb_trans_settings_nvme at all and use the transport
and/or protocol version field instead.

Reviewed by: chuck, imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D40616

Details

Provenance
jhbAuthored on Jun 27 2023, 3:32 AM
Reviewer
chuck
Differential Revision
D40616: nvme: Tidy up transfer rate settings in XPT_GET_TRAN_SETTINGS.
Parents
rG1aaa8f670a01: nvme: Don't install nvme_private.h in /usr/include.
Branches
Unknown
Tags
Unknown