aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/objc-hidden/(public-mirror)
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2026-09-02 17:41:32 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2026-09-03 14:23:55 +0000
commita5bb0fde672271f7a4c5a460ed0cd0282a18ca66 (patch)
tree9294cf9fae621ed57ecbdb1d29ae77f684c70f70 /test/Modules/Inputs/objc-hidden/(public-mirror)
parent0abd71f39a5c296bf5bf41a0d98cfe849967d8f9 (diff)
iflib: update rs_pending based on descriptors consumed by isc_txd_encapHEADmain
The new watchdog code triggers spurious watchdog resets on NICs doing KTLS offload. Fix this by using the actual segments consumed by the NIC driver's isc_txd_encap. The issue is that rs_pending is updated using an estimate of the descriptors that will be used for the current packet, based on what bus_dma produced. However, NICs which support ktls offload may do extra DMAs (and consume extra descriptors) to derive crypto state when re-transmitting TLS segments. This is the reason for allowing drivers to control ift_pad. When this happens, the estimated rs_pending may undercount. This may also happen if NIC drivers consume extra descriptors for other reasons. (eg, hw errata handling on e1000) Reviewed by: kbowling Differential Revision: https://reviews.freebsd.org/D59321 Sponsored-by: Netflix
Diffstat (limited to 'test/Modules/Inputs/objc-hidden/(public-mirror)')
0 files changed, 0 insertions, 0 deletions