Home
last modified time | relevance | path

Searched refs:critical_tout (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1287 #define MLX5E_DEVICE_STALL_MINOR_WATERMARK(critical_tout) \ argument
1289 (critical_tout * MLX5E_PFC_PREVEN_MINOR_PRECENT) / 100)
1309 u16 critical_tout; in mlx5e_set_pfc_prevention_tout() local
1316 critical_tout = (pfc_preven == PFC_STORM_PREVENTION_AUTO) ? in mlx5e_set_pfc_prevention_tout()
1320 if (critical_tout != PFC_STORM_PREVENTION_DISABLE && in mlx5e_set_pfc_prevention_tout()
1321 (critical_tout > MLX5E_PFC_PREVEN_TOUT_MAX_MSEC || in mlx5e_set_pfc_prevention_tout()
1322 critical_tout < MLX5E_PFC_PREVEN_TOUT_MIN_MSEC)) { in mlx5e_set_pfc_prevention_tout()
1329 minor = MLX5E_DEVICE_STALL_MINOR_WATERMARK(critical_tout); in mlx5e_set_pfc_prevention_tout()
1330 return mlx5_set_port_stall_watermark(mdev, critical_tout, in mlx5e_set_pfc_prevention_tout()