Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c1108 struct mlx5_port_eth_proto *eproto) in mlx5_port_query_eth_proto() argument
1113 if (!eproto) in mlx5_port_query_eth_proto()
1120 eproto->cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, in mlx5_port_query_eth_proto()
1122 eproto->admin = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_admin); in mlx5_port_query_eth_proto()
1123 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto()
1129 struct mlx5_port_eth_proto eproto; in mlx5_ptys_ext_supported() local
1135 err = mlx5_port_query_eth_proto(mdev, 1, true, &eproto); in mlx5_ptys_ext_supported()
1139 return !!eproto.cap; in mlx5_ptys_ext_supported()
1187 struct mlx5_port_eth_proto eproto; in mlx5_port_max_linkspeed() local
1196 err = mlx5_port_query_eth_proto(mdev, 1, ext, &eproto); in mlx5_port_max_linkspeed()
[all …]
Den_ethtool.c1168 struct mlx5_port_eth_proto eproto; in mlx5e_ethtool_set_link_ksettings() local
1195 err = mlx5_port_query_eth_proto(mdev, 1, ext, &eproto); in mlx5e_ethtool_set_link_ksettings()
1208 link_modes = link_modes & eproto.cap; in mlx5e_ethtool_set_link_ksettings()
1223 if (!an_changes && link_modes == eproto.admin) in mlx5e_ethtool_set_link_ksettings()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.c82 struct mlx5_port_eth_proto eproto; in mlx5e_port_linkspeed() local
88 err = mlx5_port_query_eth_proto(mdev, 1, ext, &eproto); in mlx5e_port_linkspeed()
91 if (ext && !eproto.admin) { in mlx5e_port_linkspeed()
93 err = mlx5_port_query_eth_proto(mdev, 1, false, &eproto); in mlx5e_port_linkspeed()
97 *speed = mlx5_port_ptys2speed(mdev, eproto.oper, force_legacy); in mlx5e_port_linkspeed()