Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/iflib.4
| .Dd August 20, 2025 | .Dd January 7, 2026 | ||||
| .Dt IFLIB 4 | .Dt IFLIB 4 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm iflib | .Nm iflib | ||||
| .Nd Network Interface Driver Framework | .Nd Network Interface Driver Framework | ||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Cd "device pci" | .Cd "device pci" | ||||
| .Cd "device iflib" | .Cd "device iflib" | ||||
| ▲ Show 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | |||||
| task servicing the TX ring. | task servicing the TX ring. | ||||
| This ensures that whenever there is a pending transmission, | This ensures that whenever there is a pending transmission, | ||||
| the transmit ring is being serviced. | the transmit ring is being serviced. | ||||
| This results in higher transmit throughput. | This results in higher transmit throughput. | ||||
| If set to a non-zero value, task returns immediately and the transmit | If set to a non-zero value, task returns immediately and the transmit | ||||
| ring is serviced by a different task. | ring is serviced by a different task. | ||||
| This returns control to the caller faster and under high receive load, | This returns control to the caller faster and under high receive load, | ||||
| may result in fewer dropped RX frames. | may result in fewer dropped RX frames. | ||||
| .It Va tx_defer_mfree | |||||
| Controls the threshold in packets before iflib will free the memory | |||||
| (mbufs) for the packets that it has transmitted. | |||||
| When this is nonzero, mbufs will be freed outside the transmit lock. | |||||
| Setting this can reduce lock contention and CPU use when using simple_tx. | |||||
| Note that this applies only when simple_tx is enabled. | |||||
| .It Va tx_reclaim_thresh | .It Va tx_reclaim_thresh | ||||
| Controls the threshold in packets before iflib will ask the driver | Controls the threshold in packets before iflib will ask the driver | ||||
| how many transmitted packets can be reclaimed. | how many transmitted packets can be reclaimed. | ||||
| Determining how many many packets can be reclaimed can be expensive | Determining how many many packets can be reclaimed can be expensive | ||||
| on some drivers. | on some drivers. | ||||
| .It Va tx_reclaim_ticks | .It Va tx_reclaim_ticks | ||||
| Controls the time in ticks before iflib will ask the driver | Controls the time in ticks before iflib will ask the driver | ||||
| how many transmitted packets can be reclaimed. | how many transmitted packets can be reclaimed. | ||||
| ▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines | |||||