git: 83e6f0d7807b - main - iflib: document new sysctls

From: Andrew Gallatin <gallatin_at_FreeBSD.org>
Date: Tue, 06 Jan 2026 22:46:20 UTC
The branch main has been updated by gallatin:

URL: https://cgit.FreeBSD.org/src/commit/?id=83e6f0d7807b4ebc74bc58e6f03adde56db942bf

commit 83e6f0d7807b4ebc74bc58e6f03adde56db942bf
Author:     Andrew Gallatin <gallatin@FreeBSD.org>
AuthorDate: 2026-01-06 22:43:24 +0000
Commit:     Andrew Gallatin <gallatin@FreeBSD.org>
CommitDate: 2026-01-06 22:46:12 +0000

    iflib: document new sysctls
    
    Document the new tx related sysctls I've added to iflib in the
    last few months:  tx_reclaim_ticks & tx_reclaim_thresh
    
    Sponsored by: Netflix
    Reviewed by: ziaee
    Differential Revision: https://reviews.freebsd.org/D54564
    MFC after: 3 days
---
 share/man/man4/iflib.4 | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/share/man/man4/iflib.4 b/share/man/man4/iflib.4
index 2040698f0087..66395bfe5dfc 100644
--- a/share/man/man4/iflib.4
+++ b/share/man/man4/iflib.4
@@ -94,6 +94,16 @@ If set to a non-zero value, task returns immediately and the transmit
 ring is serviced by a different task.
 This returns control to the caller faster and under high receive load,
 may result in fewer dropped RX frames.
+.It Va tx_reclaim_thresh
+Controls the threshold in packets before iflib will ask the driver
+how many transmitted packets can be reclaimed.
+Determining how many many packets can be reclaimed can be expensive
+on some drivers.
+.It Va tx_reclaim_ticks
+Controls the time in ticks before iflib will ask the driver
+how many transmitted packets can be reclaimed.
+Determining how many many packets can be reclaimed can be expensive
+on some drivers.
 .It Va rx_budget
 Sets the maximum number of frames to be received at a time.
 Zero (the default) indicates the default (currently 16) should be used.