summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx5/core/health.c
diff options
context:
space:
mode:
authorAmir Tzin <amirtz@mellanox.com>2021-10-07 18:00:27 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-10-15 17:37:43 -0700
commit5945e1adeab527ec96c75a786213c146d4d482a4 (patch)
treed1b06359af6a806aa568eb528d334b949ac14fca /drivers/net/ethernet/mellanox/mlx5/core/health.c
parent4b2c5fa9c9902ce34ecea6711558d9af96351b31 (diff)
net/mlx5: Read timeout values from init segment
Replace hard coded timeouts with values stored in firmware's init segment. Timeouts are read from init segment during driver load. If init segment timeouts are not supported then fallback to hard coded defaults instead. Also move pre initialization timeouts which cannot be read from firmware to the new mechanism. Signed-off-by: Amir Tzin <amirtz@mellanox.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/health.c')
0 files changed, 0 insertions, 0 deletions