diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-09-21 13:17:52 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-21 21:15:02 +0200 |
commit | b0e9b5517eb12fa80c72e205fe28534c2e2f39b9 (patch) | |
tree | 1bbd4891bba053ac167aae3dfecb3e6ffda8c614 /io_uring/opdef.c | |
parent | io_uring/net: support non-zerocopy sendto (diff) | |
download | linux-b0e9b5517eb12fa80c72e205fe28534c2e2f39b9.tar.xz linux-b0e9b5517eb12fa80c72e205fe28534c2e2f39b9.zip |
io_uring/net: rename io_sendzc()
Simple renaming of io_sendzc*() functions in preparatio to adding
a zerocopy sendmsg variant.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/265af46829e6076dd220011b1858dc3151969226.1663668091.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/opdef.c')
-rw-r--r-- | io_uring/opdef.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_uring/opdef.c b/io_uring/opdef.c index 849514abd046..c7d0a2fed42e 100644 --- a/io_uring/opdef.c +++ b/io_uring/opdef.c @@ -496,10 +496,10 @@ const struct io_op_def io_op_defs[] = { .manual_alloc = 1, #if defined(CONFIG_NET) .async_size = sizeof(struct io_async_msghdr), - .prep = io_sendzc_prep, - .issue = io_sendzc, + .prep = io_send_zc_prep, + .issue = io_send_zc, .prep_async = io_send_prep_async, - .cleanup = io_sendzc_cleanup, + .cleanup = io_send_zc_cleanup, .fail = io_send_zc_fail, #else .prep = io_eopnotsupp_prep, |