1. 05 Mar, 2024 1 commit
    • David Howells's avatar
      rxrpc: Do zerocopy using MSG_SPLICE_PAGES and page frags · 49489bb0
      David Howells authored
      Switch from keeping the transmission buffers in the rxrpc_txbuf struct and
      allocated from the slab, to allocating them using page fragment allocators
      (which uses raw pages), thereby allowing them to be passed to
      MSG_SPLICE_PAGES and avoid copying into the UDP buffers.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Marc Dionne <marc.dionne@auristor.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: linux-afs@lists.infradead.org
      cc: netdev@vger.kernel.org
      49489bb0
  2. 03 Mar, 2024 1 commit
    • David Howells's avatar
      rxrpc: Use rxrpc_txbuf::kvec[0] instead of rxrpc_txbuf::wire · 8985f2b0
      David Howells authored
      Use rxrpc_txbuf::kvec[0] instead of rxrpc_txbuf::wire to gain access to the
      Rx protocol header.  In future, the wire header will be stored in a page
      frag, not in the rxrpc_txbuf struct making it possible to use
      MSG_SPLICE_PAGES when sending it.
      
      Similarly, access the ack header as being immediately after the wire header
      when filling out an ACK packet.
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Marc Dionne <marc.dionne@auristor.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: linux-afs@lists.infradead.org
      cc: netdev@vger.kernel.org
      8985f2b0
  3. 29 Feb, 2024 33 commits
  4. 28 Feb, 2024 5 commits