Files
freebsd/sys/net
Andrew Gallatin a5bb0fde67 iflib: update rs_pending based on descriptors consumed by isc_txd_encap
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
2026-09-03 10:23:55 -04:00
..
2026-08-14 00:54:27 +00:00
2025-12-18 08:46:20 -08:00
2026-08-11 07:39:30 -07:00
2026-03-15 00:41:29 -03:00
2025-01-17 17:00:08 +01:00
…
…
…
…
…
2026-04-12 10:26:08 -07:00
…
2025-12-08 09:20:56 -08:00
2025-12-08 09:20:56 -08:00
…
…
…
…
2025-07-28 16:36:54 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2026-05-21 23:19:50 +02:00
…
…
…
2026-07-29 00:24:24 +03:30
2026-08-04 11:55:22 +02:00