[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <355664c5-769b-49b7-aa19-7a2dcfb24818@gmail.com>
Date: Tue, 6 May 2025 16:32:27 +0100
From: Pavel Begunkov <asml.silence@...il.com>
To: Alexey Charkov <alchark@...il.com>
Cc: io-uring@...r.kernel.org, David Wei <dw@...idwei.uk>,
netdev@...r.kernel.org, Jamal Hadi Salim <jhs@...atatu.com>,
Pedro Tammela <pctammela@...atatu.com>, Victor Nogueira <victor@...atatu.com>
Subject: Re: [PATCH io_uring 0/5] Add dmabuf support for io_uring zcrx
On 5/6/25 15:34, Alexey Charkov wrote:
> On Tue, May 6, 2025 at 6:29 PM Pavel Begunkov <asml.silence@...il.com> wrote:
>>
>> Currently, io_uring zcrx uses regular user pages to populate the
>> area for page pools, this series allows the user to pass a dmabuf
>> instead.
>>
>> Patches 1-4 are preparatory and do code shuffling. All dmabuf
>> touching changes are in the last patch. A basic example can be
>> found at:
>>
>> https://github.com/isilence/liburing/tree/zcrx-dmabuf
>> https://github.com/isilence/liburing.git zcrx-dmabuf
>>
>> Pavel Begunkov (5):
>> io_uring/zcrx: improve area validation
>> io_uring/zcrx: resolve netdev before area creation
>> io_uring/zcrx: split out memory holders from area
>> io_uring/zcrx: split common area map/unmap parts
>> io_uring/zcrx: dmabuf backed zerocopy receive
>>
>> include/uapi/linux/io_uring.h | 6 +-
>> io_uring/rsrc.c | 27 ++--
>> io_uring/rsrc.h | 2 +-
>> io_uring/zcrx.c | 260 +++++++++++++++++++++++++++-------
>> io_uring/zcrx.h | 18 ++-
>> 5 files changed, 248 insertions(+), 65 deletions(-)
>
> Hi Pavel,
>
> Looks like another "depends" line might be needed in io_uring/Kconfig:
Ah yes, thanks for letting know, I'll patch it up. dmabuf is
optional here, so fwiw not going to gate the entire api on
that.
--
Pavel Begunkov
Powered by blists - more mailing lists