diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-09-08 14:20:32 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-21 18:30:43 +0200 |
commit | cd9021e88fddf0d9fa9704564153af2bdb5dc13c (patch) | |
tree | e2599891c185678958d9db1ca2859934de6169d3 /crypto | |
parent | io_uring/net: io_async_msghdr caches for sendzc (diff) | |
download | linux-cd9021e88fddf0d9fa9704564153af2bdb5dc13c.tar.xz linux-cd9021e88fddf0d9fa9704564153af2bdb5dc13c.zip |
io_uring/net: add non-bvec sg chunking callback
Add a sg_from_iter() for when we initiate non-bvec zerocopy sends, which
helps us to remove some extra steps from io_sg_from_iter(). The only
thing the new function has to do before giving control away to
__zerocopy_sg_from_iter() is to check if the skb has managed frags and
downgrade them if so.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/cda3dea0d36f7931f63a70f350130f085ac3f3dd.1662639236.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions