[Intel-wired-lan] [PATCH iwl-next v5 1/2] ixgbe: Refactor overtemp event handling

Mekala, SunithaX D sunithax.d.mekala at intel.com
Fri Dec 29 21:46:03 UTC 2023


> Currently ixgbe driver is notified of overheating events
> via internal IXGBE_ERR_OVERTEMP error code.
>
> Change the approach for handle_lasi() to use freshly introduced
> is_overtemp function parameter which set when such event occurs.
> Change check_overtemp() to bool and return true if overtemp
> event occurs.
>
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel at intel.com>
> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski at intel.com>
> ---
> v2: change aproach to use additional function parameter to notify when overheat
> v4: change check_overtemp to bool
> v5: adress Simon's comments
>
> https://lore.kernel.org/netdev/20231217093800.GX6288@kernel.org/
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 16 +++-----
>  drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c  | 21 +++++-----
>  drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h  |  2 +-
>  drivers/net/ethernet/intel/ixgbe/ixgbe_type.h |  4 +-
>  drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c | 41 +++++++++++--------
>  5 files changed, 43 insertions(+), 41 deletions(-)
>
Tested-by: Sunitha Mekala <sunithax.d.mekala at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list