]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
smc: Drop smc_sendpage() in favour of smc_sendmsg() + MSG_SPLICE_PAGES
authorDavid Howells <dhowells@redhat.com>
Fri, 23 Jun 2023 22:55:06 +0000 (23:55 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 24 Jun 2023 22:50:12 +0000 (15:50 -0700)
commit2f8bc2bbb0fa87bcf7fb9eeb65eb6d79c5a08895
tree1fe40c1691dc7ff4064f4123ae22fc643374566d
parentc336a79983c7e67a0a163ab4feafa3c273d915be
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>
net/smc/af_smc.c
net/smc/smc_stats.c
net/smc/smc_stats.h
net/smc/smc_tx.c
net/smc/smc_tx.h