linux-stable/drivers/net/ethernet/mellanox/mlxsw
Ido Schimmel cc19439f70 mlxsw: core_thermal: Simplify transceiver module get_temp() callback
The get_temp() callback of a thermal zone associated with a transceiver
module no longer needs to read the temperature thresholds of the module.
Therefore, simplify the callback by only reading the temperature.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-02 13:42:30 +01:00
..
cmd.h mlxsw: cmd: Edit the comment of 'max_lag' field in CONFIG_PROFILE 2022-08-30 23:20:42 -07:00
core.c mlxsw: core: Register devlink instance before sub-objects 2023-02-07 20:18:50 -08:00
core.h mlxsw: spectrum_acl_tcam: Move devlink param to TCAM code 2023-02-07 20:18:49 -08:00
core_acl_flex_actions.c mlxsw: core_acl_flex_actions: Split memcpy() of struct flow_action_cookie flexible array 2022-09-27 18:44:21 -07:00
core_acl_flex_actions.h
core_acl_flex_keys.c
core_acl_flex_keys.h
core_env.c
core_env.h
core_hwmon.c
core_linecard_dev.c mlxsw: core_linecards: Remove duplicated include in core_linecard_dev.c 2022-07-28 22:19:41 -07:00
core_linecards.c devlink: remove linecards lock 2023-01-19 19:08:37 -08:00
core_thermal.c mlxsw: core_thermal: Simplify transceiver module get_temp() callback 2023-04-02 13:42:30 +01:00
emad.h mlxsw: emad: Add support for latency TLV 2023-01-20 18:50:15 -08:00
i2c.c net/mlxsw: Convert to i2c's .probe_new() 2022-11-23 12:50:06 -08:00
i2c.h
item.h
Kconfig mlxsw: core_linecards: Introduce per line card auxiliary device 2022-07-26 13:50:51 -07:00
Makefile mlxsw: core_linecards: Introduce per line card auxiliary device 2022-07-26 13:50:51 -07:00
minimal.c net: remove unused ndo_get_devlink_port 2022-11-03 20:48:36 -07:00
pci.c mlxsw: Support configuring 'max_lag' via CONFIG_PROFILE 2022-08-30 23:20:42 -07:00
pci.h
pci_hw.h mlxsw: pci: Simplify FRC clock reading 2022-07-25 13:58:55 +01:00
port.h
reg.h mlxsw: reg: Add TLV related fields to MGIR register 2023-01-20 18:50:15 -08:00
resources.h mlxsw: resources: Add resource identifier for maximum number of FIDs 2022-07-25 13:58:55 +01:00
spectrum.c mlxsw: spectrum: Fix incorrect parsing depth after reload 2023-03-15 00:48:40 -07:00
spectrum.h mlxsw: spectrum_acl_tcam: Move devlink param to TCAM code 2023-02-07 20:18:49 -08:00
spectrum1_acl_tcam.c
spectrum1_kvdl.c mlxsw: convert driver to use unlocked devlink API during init/fini 2022-07-18 20:10:47 -07:00
spectrum1_mr_tcam.c
spectrum2_acl_tcam.c
spectrum2_kvdl.c
spectrum2_mr_tcam.c
spectrum_acl.c mlxsw: spectrum_acl_tcam: Move devlink param to TCAM code 2023-02-07 20:18:49 -08:00
spectrum_acl_atcam.c
spectrum_acl_bloom_filter.c
spectrum_acl_ctcam.c
spectrum_acl_erp.c
spectrum_acl_flex_actions.c
spectrum_acl_flex_actions.h
spectrum_acl_flex_keys.c
spectrum_acl_tcam.c mlxsw: spectrum_acl_tcam: Move devlink param to TCAM code 2023-02-07 20:18:49 -08:00
spectrum_acl_tcam.h mlxsw: spectrum_acl_tcam: Move devlink param to TCAM code 2023-02-07 20:18:49 -08:00
spectrum_buffers.c mlxsw: convert driver to use unlocked devlink API during init/fini 2022-07-18 20:10:47 -07:00
spectrum_cnt.c mlxsw: convert driver to use unlocked devlink API during init/fini 2022-07-18 20:10:47 -07:00
spectrum_cnt.h
spectrum_dcb.c
spectrum_dpipe.c mlxsw: convert driver to use unlocked devlink API during init/fini 2022-07-18 20:10:47 -07:00
spectrum_dpipe.h
spectrum_ethtool.c mlxsw: Add support for 800Gbps link modes 2022-10-24 10:43:39 +01:00
spectrum_fid.c mlxsw: spectrum_fid: Fix incorrect local port type 2023-03-22 15:50:32 +01:00
spectrum_flow.c
spectrum_flower.c net/sched: Rename user cookie and act cookie 2023-02-20 16:46:10 -08:00
spectrum_ipip.c mlxsw: spectrum_ipip: Add Spectrum-1 ip6gre support 2022-12-08 18:46:32 -08:00
spectrum_ipip.h mlxsw: spectrum_router: Add support for double entry RIFs 2022-12-08 18:46:32 -08:00
spectrum_kvdl.c
spectrum_matchall.c
spectrum_mr.c
spectrum_mr.h
spectrum_mr_tcam.c
spectrum_mr_tcam.h
spectrum_nve.c
spectrum_nve.h
spectrum_nve_vxlan.c
spectrum_pgt.c mlxsw: Enable unified bridge model 2022-07-04 09:56:57 +01:00
spectrum_policer.c mlxsw: convert driver to use unlocked devlink API during init/fini 2022-07-18 20:10:47 -07:00
spectrum_ptp.c mlxsw: update adjfine to use adjust_by_scaled_ppm 2022-11-16 12:17:44 -08:00
spectrum_ptp.h mlxsw: spectrum_ptp: Fix compilation warnings 2022-08-15 11:49:58 +01:00
spectrum_qdisc.c
spectrum_router.c mlxsw: spectrum: Fix incorrect parsing depth after reload 2023-03-15 00:48:40 -07:00
spectrum_router.h mlxsw: spectrum_router: Use gen_pool for RIF index allocation 2022-12-08 18:46:31 -08:00
spectrum_span.c ip_tunnel: Respect tunnel key's "flow_flags" in IP tunnels 2022-08-18 21:18:28 +02:00
spectrum_span.h
spectrum_switchdev.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-11-17 18:30:39 -08:00
spectrum_switchdev.h
spectrum_trap.c mlxsw: spectrum_trap: Register 802.1X packet traps with devlink 2022-11-09 19:06:14 -08:00
spectrum_trap.h
trap.h mlxsw: spectrum_trap: Register 802.1X packet traps with devlink 2022-11-09 19:06:14 -08:00
txheader.h