Hi Keith! > NVMe wants this check to actually be this: > > if ((bv.bv_offset | bv.bv_len) & lim->dma_alignment) > > because the dma alignment defines not only the starting address offset, > but also the length. NVMe's default alignment is 4 bytes. dma_alignment defines the alignment of the DMA starting address. We don't have a dedicated queue limit for the transfer length granularity described by NVMe. -- Martin K. Petersen