Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c1111 struct mlx5_port_eth_proto *eproto) in mlx5_port_query_eth_proto() argument
1116 if (!eproto) in mlx5_port_query_eth_proto()
1123 eproto->cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, in mlx5_port_query_eth_proto()
1125 eproto->admin = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_admin); in mlx5_port_query_eth_proto()
1126 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto()
1132 struct mlx5_port_eth_proto eproto; in mlx5_ptys_ext_supported() local
1138 err = mlx5_port_query_eth_proto(mdev, 1, true, &eproto); in mlx5_ptys_ext_supported()
1142 return !!eproto.cap; in mlx5_ptys_ext_supported()
1190 struct mlx5_port_eth_proto eproto; in mlx5_port_max_linkspeed() local
1199 err = mlx5_port_query_eth_proto(mdev, 1, ext, &eproto); in mlx5_port_max_linkspeed()
[all …]
Den_ethtool.c1352 struct mlx5_port_eth_proto eproto; in mlx5e_ethtool_set_link_ksettings() local
1379 err = mlx5_port_query_eth_proto(mdev, 1, ext, &eproto); in mlx5e_ethtool_set_link_ksettings()
1392 link_modes = link_modes & eproto.cap; in mlx5e_ethtool_set_link_ksettings()
1407 if (!an_changes && link_modes == eproto.admin) in mlx5e_ethtool_set_link_ksettings()
/linux-6.12.1/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()
/linux-6.12.1/include/linux/mlx5/
Dport.h231 struct mlx5_port_eth_proto *eproto);