If the PCIE connection remains in the D0 state, It will consume more power.
Receiving or sending data will cause PCIE to change D3 Cold to D0 state.
Jakub Kicinski [off-list ref] 於 2024年11月1日 週五 上午9:51寫道:
On Mon, 28 Oct 2024 15:30:15 +0800 wojackbb@gmail.com wrote:
quoted
Because optimizing the power consumption of t7XX,
change auto suspend time to 5000.
The Tests uses a script to loop through the power_state
of t7XX.
(for example: /sys/bus/pci/devices/0000\:72\:00.0/power_state)
* If Auto suspend is 20 seconds,
test script show power_state have 0~5% of the time was in D3 state
when host don't have data packet transmission.
* Changed auto suspend time to 5 seconds,
test script show power_state have 50%~80% of the time was in D3 state
when host don't have data packet transmission.
I'm going to drop this from PW while we wait for your reply to Sergey
If the patch is still good after answering his questions please update
the commit message and resend with a [net-next] tag (we use [net] to
designate fixes for current release and stable)