HomeFreeBSD

NFS: Request use of TCP_USE_DDP for in-kernel TCP sockets

Description

NFS: Request use of TCP_USE_DDP for in-kernel TCP sockets

Since this is an optimization, ignore failures to enable the option.

For the server side, defer enabling DDP until the first non-NULLPROC
RPC is received. This allows TLS handling (which uses NULLPROC RPCs)
to enable TLS offload first.

Reviewed by: rmacklem
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D44002

(cherry picked from commit a16ff32f04b5b891a2d9b0427a2fd9c48e866da3)

Details

Provenance
jhbAuthored on Mar 20 2024, 10:29 PM
Reviewer
rmacklem
Differential Revision
D44002: NFS: Request use of TCP_USE_DDP for in-kernel TCP sockets
Parents
rGbf5956c185a1: cxgbe: Support TCP_USE_DDP on offloaded TOE connections
Branches
Unknown
Tags
Unknown