Searched refs:eproto (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port.c | 86 struct mlx5e_port_eth_proto eproto; in mlx5e_ptys_ext_supported() local 92 err = mlx5_port_query_eth_proto(mdev, 1, true, &eproto); in mlx5e_ptys_ext_supported() 96 return !!eproto.cap; in mlx5e_ptys_ext_supported() 111 struct mlx5e_port_eth_proto *eproto) in mlx5_port_query_eth_proto() argument 116 if (!eproto) in mlx5_port_query_eth_proto() 123 eproto->cap = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, in mlx5_port_query_eth_proto() 125 eproto->admin = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_admin); in mlx5_port_query_eth_proto() 126 eproto->oper = MLX5_GET_ETH_PROTO(ptys_reg, out, ext, eth_proto_oper); in mlx5_port_query_eth_proto() 193 struct mlx5e_port_eth_proto eproto; in mlx5e_port_linkspeed() local 199 err = mlx5_port_query_eth_proto(mdev, 1, ext, &eproto); in mlx5e_port_linkspeed() [all …]
|
D | port.h | 46 struct mlx5e_port_eth_proto *eproto);
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 1100 struct mlx5e_port_eth_proto eproto; in mlx5e_ethtool_set_link_ksettings() local 1127 err = mlx5_port_query_eth_proto(mdev, 1, ext, &eproto); in mlx5e_ethtool_set_link_ksettings() 1140 link_modes = link_modes & eproto.cap; in mlx5e_ethtool_set_link_ksettings() 1155 if (!an_changes && link_modes == eproto.admin) in mlx5e_ethtool_set_link_ksettings()
|