Searched refs:fec_policy (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | port.c | 328 static int mlx5e_fec_admin_field(u32 *pplm, u16 *fec_policy, bool write, in mlx5e_fec_admin_field() argument 333 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 10g_40g); in mlx5e_fec_admin_field() 336 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 25g); in mlx5e_fec_admin_field() 339 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 50g); in mlx5e_fec_admin_field() 342 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 56g); in mlx5e_fec_admin_field() 345 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 100g); in mlx5e_fec_admin_field() 348 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 50g_1x); in mlx5e_fec_admin_field() 351 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 100g_2x); in mlx5e_fec_admin_field() 354 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 200g_4x); in mlx5e_fec_admin_field() 357 MLX5E_FEC_OVERRIDE_ADMIN_POLICY(pplm, *fec_policy, write, 400g_8x); in mlx5e_fec_admin_field() [all …]
|
H A D | port.h | 55 bool mlx5e_fec_in_caps(struct mlx5_core_dev *dev, int fec_policy); 58 int mlx5e_set_fec_mode(struct mlx5_core_dev *dev, u16 fec_policy);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 1861 u16 fec_policy = 0; in mlx5e_set_fecparam() local 1872 fec_policy |= (1 << mode); in mlx5e_set_fecparam() 1876 err = mlx5e_set_fec_mode(mdev, fec_policy); in mlx5e_set_fecparam()
|