diff options
author | David Howells <dhowells@redhat.com> | 2023-06-23 23:55:06 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-24 15:50:12 -0700 |
commit | 2f8bc2bbb0fa87bcf7fb9eeb65eb6d79c5a08895 (patch) | |
tree | 1fe40c1691dc7ff4064f4123ae22fc643374566d /net/smc/smc_tx.h | |
parent | c336a79983c7e67a0a163ab4feafa3c273d915be (diff) | |
download | linux-2f8bc2bbb0fa87bcf7fb9eeb65eb6d79c5a08895.tar.gz linux-2f8bc2bbb0fa87bcf7fb9eeb65eb6d79c5a08895.tar.bz2 linux-2f8bc2bbb0fa87bcf7fb9eeb65eb6d79c5a08895.zip |
smc: Drop smc_sendpage() in favour of smc_sendmsg() + MSG_SPLICE_PAGES
Drop the smc_sendpage() code as smc_sendmsg() just passes the call down to
the underlying TCP socket and smc_tx_sendpage() is just a wrapper around
its sendmsg implementation.
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Karsten Graul <kgraul@linux.ibm.com>
cc: Wenjia Zhang <wenjia@linux.ibm.com>
cc: Jan Karcher <jaka@linux.ibm.com>
cc: "D. Wythe" <alibuda@linux.alibaba.com>
cc: Tony Lu <tonylu@linux.alibaba.com>
cc: Wen Gu <guwen@linux.alibaba.com>
cc: Jens Axboe <axboe@kernel.dk>
cc: Matthew Wilcox <willy@infradead.org>
Link: https://lore.kernel.org/r/20230623225513.2732256-10-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/smc/smc_tx.h')
-rw-r--r-- | net/smc/smc_tx.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/smc/smc_tx.h b/net/smc/smc_tx.h index 34b578498b1f..a59f370b8b43 100644 --- a/net/smc/smc_tx.h +++ b/net/smc/smc_tx.h @@ -31,8 +31,6 @@ void smc_tx_pending(struct smc_connection *conn); void smc_tx_work(struct work_struct *work); void smc_tx_init(struct smc_sock *smc); int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len); -int smc_tx_sendpage(struct smc_sock *smc, struct page *page, int offset, - size_t size, int flags); int smc_tx_sndbuf_nonempty(struct smc_connection *conn); void smc_tx_sndbuf_nonfull(struct smc_sock *smc); void smc_tx_consumer_update(struct smc_connection *conn, bool force); |