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

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
rGeba13bbc37ab: cxgbe: Support TCP_USE_DDP on offloaded TOE connections
Branches
Unknown
Tags
Unknown