[PATCHv5 2/2] nvme: remove virtual boundary for sgl capable devices

Martin K. Petersen martin.petersen at oracle.com
Tue Oct 14 14:19:17 PDT 2025


Keith,

> The nvme virtual boundary is only required for the PRP format. Devices
> that can use SGL for DMA don't need it for IO queues. Drop reporting
> it for such devices; rdma fabrics controllers will continue to use the
> limit as they currently don't report any boundary requirements, but
> tcp and fc never needed it in the first place so they get to report no
> virtual boundary.
>
> Applications may continue to align to the same virtual boundaries for
> optimization purposes if they want, and the driver will continue to
> decide whether to use the PRP format the same as before if the IO
> allows it.

Looks fine.

Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen



More information about the Linux-nvme mailing list