Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ethtool.c1082 struct mlxsw_sp1_port_link_mode { struct
1088 static const struct mlxsw_sp1_port_link_mode mlxsw_sp1_port_link_mode[] = { variable
1176 #define MLXSW_SP1_PORT_LINK_MODE_LEN ARRAY_SIZE(mlxsw_sp1_port_link_mode)
1206 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) in mlxsw_sp1_from_ptys_link()
1207 __set_bit(mlxsw_sp1_port_link_mode[i].mask_ethtool, in mlxsw_sp1_from_ptys_link()
1218 if (ptys_eth_proto & mlxsw_sp1_port_link_mode[i].mask) in mlxsw_sp1_from_ptys_speed()
1219 return mlxsw_sp1_port_link_mode[i].speed; in mlxsw_sp1_from_ptys_speed()
1253 if ((eth_proto_cap & mlxsw_sp1_port_link_mode[i].mask) && in mlxsw_sp1_ptys_max_speed()
1254 mlxsw_sp1_port_link_mode[i].speed > max_speed) in mlxsw_sp1_ptys_max_speed()
1255 max_speed = mlxsw_sp1_port_link_mode[i].speed; in mlxsw_sp1_ptys_max_speed()
[all …]