Searched refs:media_entry (Results 1 – 1 of 1) sorted by relevance
379 struct media media_entry = {}; in mlx5e_update_carrier() local413 media_entry = mlx5e_ext_mode_table[i][MLX5E_CABLE_TYPE_UNKNOWN]; in mlx5e_update_carrier()418 media_entry = mlx5e_ext_mode_table[i][cable_type]; in mlx5e_update_carrier()421 if (media_entry.subtype == 0) in mlx5e_update_carrier()422 media_entry = mlx5e_ext_mode_table[i][MLX5E_CABLE_TYPE_UNKNOWN]; in mlx5e_update_carrier()425 media_entry = mlx5e_mode_table[i]; in mlx5e_update_carrier()428 if (media_entry.subtype == 0) { in mlx5e_update_carrier()434 switch (media_entry.subtype) { in mlx5e_update_carrier()442 media_entry.subtype = IFM_10G_LR; in mlx5e_update_carrier()451 media_entry.subtype = IFM_40G_ER4; in mlx5e_update_carrier()[all …]