rge: add disable_aspm tunable for PCIe power management
Add a per-interface loader tunable dev.rge.%d.disable_aspm to disable PCIe ASPM (L0s/L1) and ECPM on the RTL8125/8126/8127. Disabling ASPM reduces latency at the cost of higher power consumption. Default is off (ASPM left as configured by BIOS). Signed-off-by: Christos Longros <chris.longros@gmail.com> Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D56103
This commit is contained in:
committed by
Adrian Chadd
parent
aae9068404
commit
4390c37b5c
@@ -152,6 +152,15 @@ Maximum number of RX packets to process per interrupt.
|
||||
The default value is 16.
|
||||
Increasing this value may improve throughput on high-speed links at the
|
||||
cost of increased interrupt latency.
|
||||
.It Va dev.rge.%d.disable_aspm
|
||||
Disable PCIe Active State Power Management (ASPM) and Extended
|
||||
Configuration Power Management (ECPM).
|
||||
The default value is 0 (leave ASPM enabled).
|
||||
Setting this to 1 reduces latency at the cost of increased power
|
||||
consumption.
|
||||
This tunable can only be set in
|
||||
.Xr loader.conf 5
|
||||
and requires a reboot to take effect.
|
||||
.El
|
||||
.Sh DIAGNOSTICS
|
||||
.Bl -diag
|
||||
|
||||
Reference in New Issue
Block a user