diff options
| author | Pavel Begunkov <[email protected]> | 2025-02-15 00:09:44 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-02-17 12:41:09 +0000 |
| commit | bc57c7d36c4c9c352ed13d98a4f1e4dc27919d6a (patch) | |
| tree | 2ca2e54a18a0381c2cfa7388de6b3d5a080c7d43 /drivers/gpu/drm/meson/meson_encoder_dsi.c | |
| parent | io_uring/zcrx: throttle receive requests (diff) | |
| download | kernel-bc57c7d36c4c9c352ed13d98a4f1e4dc27919d6a.tar.gz kernel-bc57c7d36c4c9c352ed13d98a4f1e4dc27919d6a.zip | |
io_uring/zcrx: add copy fallback
There are scenarios in which the zerocopy path can get a kernel buffer
instead of a net_iov and needs to copy it to the user, whether it is
because of mis-steering or simply getting an skb with the linear part.
In this case, grab a net_iov, copy into it and return it to the user as
normally.
At the moment the user doesn't get any indication whether there was a
copy or not, which is left for follow up work.
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: David Wei <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/meson/meson_encoder_dsi.c')
0 files changed, 0 insertions, 0 deletions
