Page MenuHomeFreeBSD

cxgbe tom: Call t4_rcvd_locked from do_rx_data to return RX credits
ClosedPublic

Authored by jhb on Sep 1 2023, 9:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 5, 6:51 AM
Unknown Object (File)
Fri, Dec 26, 6:10 PM
Unknown Object (File)
Fri, Dec 26, 1:04 AM
Unknown Object (File)
Wed, Dec 24, 7:49 PM
Unknown Object (File)
Thu, Dec 18, 4:33 PM
Unknown Object (File)
Dec 11 2025, 5:06 PM
Unknown Object (File)
Dec 2 2025, 6:59 PM
Unknown Object (File)
Nov 5 2025, 6:57 PM
Subscribers

Details

Summary

In particular, the kernel RPC layer used by the NFS client never
invokes pru_rcvd since it always reads data from the socket upcall
via MSG_SOCALLBCK which avoids calling pru_rcvd. As a result, on an
NFS client connection managed by t4_tom, RX credits were never
returned to the TOE connection to open the TCP window resulting in
connection hangs.

To fix, expand the set of conditions in do_rx_data where RX credits
are returned to match those in t4_rcvd_locked by calling the function
directly.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53405
Build 50296: arc lint + arc unit