HomeFreeBSD

MFC r367768: Stop using NVME_MAX_XFER_SIZE constant.

Description

MFC r367768: Stop using NVME_MAX_XFER_SIZE constant.

This constant depends on MAXPHYS and does not respect device capabilities.
Use proper dynamic ioctl(NVME_GET_MAX_XFER_SIZE) instead.

Details

Provenance
mavAuthored on
Parents
rS368602: MFC r368132: Increase nvme(4) maximum transfer size from 1MB to 2MB.
Branches
Unknown
Tags
Unknown