Skip to content
Commit 9a896ad0 authored by Vineetha G. Jaya Kumaran's avatar Vineetha G. Jaya Kumaran Committed by Yongxin Liu
Browse files

net: stmmac: Enable EEE HW LPI timer with auto SW/HW switching



commit be1c7eae upstream.

This patch enables the HW LPI Timer which controls the automatic entry
and exit of the LPI state.
The EEE LPI timer value is configured through ethtool. The driver will
auto select the LPI HW timer if the value in the HW timer supported range.
Else, the driver will fallback to SW timer.

Signed-off-by: default avatarVineetha G. Jaya Kumaran <vineetha.g.jaya.kumaran@intel.com>
Signed-off-by: default avatarVoon Weifeng <weifeng.voon@intel.com>
Link: https://lore.kernel.org/r/20201027160051.22898-1-weifeng.voon@intel.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarYongxin Liu <yongxin.liu@windriver.com>
parent f9e63672
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment