diff options
author | Pavel Begunkov <[email protected]> | 2022-09-08 13:20:32 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-09-21 10:30:43 -0600 |
commit | cd9021e88fddf0d9fa9704564153af2bdb5dc13c (patch) | |
tree | e2599891c185678958d9db1ca2859934de6169d3 /arch/powerpc/lib/code-patching.c | |
parent | 6bf8ad25fcd42a719f24613deabcff2fd341c789 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/cda3dea0d36f7931f63a70f350130f085ac3f3dd.1662639236.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions