diff options
author | David Howells <[email protected]> | 2023-06-07 19:19:20 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-08 19:40:31 -0700 |
commit | 3dc8976c7ad6ec46954eb99076551e2a2c4114da (patch) | |
tree | 59302809bba3f3bd7661440cdf57e02ab9ba4d1d /tools/perf/scripts/python | |
parent | 24763c9c09804db9b178f41358034144b87a937a (diff) |
tls/device: Convert tls_device_sendpage() to use MSG_SPLICE_PAGES
Convert tls_device_sendpage() to use sendmsg() with MSG_SPLICE_PAGES rather
than directly splicing in the pages itself. With that, the tls_iter_offset
union is no longer necessary and can be replaced with an iov_iter pointer
and the zc_page argument to tls_push_data() can also be removed.
This allows ->sendpage() to be replaced by something that can handle
multiple multipage folios in a single transaction.
Signed-off-by: David Howells <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
cc: Chuck Lever <[email protected]>
cc: Boris Pismenny <[email protected]>
cc: John Fastabend <[email protected]>
cc: Jens Axboe <[email protected]>
cc: Matthew Wilcox <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions