opnsense-src/sys/dev/mlx5
Andrew Gallatin 20e15e905c mlx5: Decrease FW init timeout from 120 seconds to 5 seconds
When encountering a failed NIC, the mlx5 driver will wait up to 120
secs for the firmware to respond.  This timeout is absurdly huge, and
leads to boot times of 40 minutes to over an hour on our servers when a
NIC fails.  This is because the driver will attempt to attach to the
failed NIC multiple times (once for each driver loaded after mlx5),
and wait 2 minutes on each attempt.  This happens because the mlx5
driver is still the best match for the device.  This delay then
triggers watchdog timeouts in our environment, rendering servers
with a failed NIC entirely unbootable without manual intervention.

Note that FW_INIT_WARN_MESSAGE_INTERVAL must also be decreased, as
it must be less than the init timeout.

Reviewed by: kib (initial version, before reducing warn interval)
Sponsored by: Netflix
2025-06-29 16:51:50 -04:00
..
mlx5_accel mlx5 ipsec: return EOPNOTSUPP for unsupported SAs instead of EINVAL 2025-02-13 12:32:32 +02:00
mlx5_core mlx5: jiffies is unsigned long 2025-04-29 13:53:40 +00:00
mlx5_en mlx5en: Use connector type instead of cable type for media detection 2025-04-09 07:55:27 +03:00
mlx5_fpga sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_fpga_tools sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5_ib mlx5: Eliminate the use of mlx5_rule_fwd_action 2024-12-19 01:59:42 +02:00
mlx5_lib mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
cmd.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cq.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
crypto.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
device.h mlx5: Decrease FW init timeout from 120 seconds to 5 seconds 2025-06-29 16:51:50 -04:00
diagnostics.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
doorbell.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
driver.h mlx5: Fix handling of port_module_event 2024-11-23 12:59:26 +02:00
fs.h mlx5: Eliminate the use of mlx5_rule_fwd_action 2024-12-19 01:59:42 +02:00
mlx5_ifc.h mlx5_core: fix panic on sriov enablement 2024-12-16 00:27:31 +02:00
mlx5_rdma_if.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mlx5io.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mpfs.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
port.h mlx5en: Use connector type instead of cable type for media detection 2025-04-09 07:55:27 +03:00
qp.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
srq.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tls.h mlx5en: add IPSEC_OFFLOAD support 2024-07-30 18:00:04 +03:00
vport.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00