[PATCH 2/2] nvme: remove virtual boundary for sgl capable devices
Christoph Hellwig
hch at lst.de
Wed Aug 6 07:55:14 PDT 2025
On Tue, Aug 05, 2025 at 12:56:08PM -0700, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
>
> The nvme virtual boundary is only for the PRP format. Devices that can
> use the SGL format don't need it for IO queues. Drop reporting it for
> such PCIe devices; fabrics target will continue to use the limit.
That's not quite true any more as of 6.17. We now also rely it for
efficiently mapping multiple segments into a single IOMMU mapping.
So by not enforcing it for IOMMU mode. In many cases we're better
off splitting I/O rather forcing a non-optimized IOMMU mapping.
More information about the Linux-nvme
mailing list