• David Howells's avatar
    tls/sw: Support MSG_SPLICE_PAGES · fe1e81d4
    David Howells authored
    Make TLS's sendmsg() support MSG_SPLICE_PAGES.  This causes pages to be
    spliced from the source iterator if possible.
    
    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: Chuck Lever <chuck.lever@oracle.com>
    cc: Boris Pismenny <borisp@nvidia.com>
    cc: John Fastabend <john.fastabend@gmail.com>
    cc: Jens Axboe <axboe@kernel.dk>
    cc: Matthew Wilcox <willy@infradead.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    fe1e81d4
tls_sw.c 72.9 KB