HomeFreeBSD

nvme: Rename min_page_size to page_size and save mps

Description

nvme: Rename min_page_size to page_size and save mps

The Memory Page Size sets the basic unit of operation for the drive. We
currently set this to the drive's minimum page size, but we could set it
to any page size the drive supports in the future. Replace min_page_size
(it's now unused for that purpose) with page_size to reflect this and
cache the MPS we want to use. Use NVME_MPS_SHIFT to compute page_size.

Sponsored by: Netflix
Reviewed by: chuck
Differential Revision: https://reviews.freebsd.org/D34868

Details

Provenance
impAuthored on Apr 15 2022, 8:41 PM
Reviewer
chuck
Differential Revision
D34868: nvme: Rename min_page_size to page_size and save mps
Parents
rG6e3deec8caab: nvme: Base maximum data transfer size directly on MPSMIN in cap_hi
Branches
Unknown
Tags
Unknown