• David Howells's avatar
    chelsio: Support MSG_SPLICE_PAGES · 116f7b36
    David Howells authored
    Make Chelsio's TLS offload sendmsg() support MSG_SPLICE_PAGES, splicing in
    pages from the source iterator if possible and copying the data in
    otherwise.
    
    This allows ->sendpage() to be replaced by something that can handle
    multiple multipage folios in a single transaction.
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    cc: Ayush Sawal <ayush.sawal@chelsio.com>
    cc: "David S. Miller" <davem@davemloft.net>
    cc: Eric Dumazet <edumazet@google.com>
    cc: Jakub Kicinski <kuba@kernel.org>
    cc: Paolo Abeni <pabeni@redhat.com>
    cc: Jens Axboe <axboe@kernel.dk>
    cc: Matthew Wilcox <willy@infradead.org>
    cc: netdev@vger.kernel.org
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    116f7b36
chtls_io.c 45 KB