[RFC v2 02/11] iov_iter: introduce iter type for pre-registered dma
Pavel Begunkov
asml.silence at gmail.com
Thu Dec 11 17:06:09 PST 2025
On 12/4/25 10:43, Christoph Hellwig wrote:
> On Sun, Nov 23, 2025 at 10:51:22PM +0000, Pavel Begunkov wrote:
>> diff --git a/include/linux/uio.h b/include/linux/uio.h
>> index 5b127043a151..1b22594ca35b 100644
>> --- a/include/linux/uio.h
>> +++ b/include/linux/uio.h
>> @@ -29,6 +29,7 @@ enum iter_type {
>> ITER_FOLIOQ,
>> ITER_XARRAY,
>> ITER_DISCARD,
>> + ITER_DMA_TOKEN,
>
> Please use DMABUF/dmabuf naming everywhere, this is about dmabufs and
> not dma in general.
I guess I can do that (in all places) since it got that much fat
around dmabuf, but for me it was always about passing dma
addresses. Dmabuf was a way to pass buffers, even though
mandatory for uapi.
--
Pavel Begunkov
More information about the Linux-nvme
mailing list