Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1004 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port()
1005 | MLX5E_PROT_MASK(MLX5E_10GBASE_SR) in ptys2ethtool_supported_advertised_port()
1006 | MLX5E_PROT_MASK(MLX5E_40GBASE_CR4) in ptys2ethtool_supported_advertised_port()
1007 | MLX5E_PROT_MASK(MLX5E_40GBASE_SR4) in ptys2ethtool_supported_advertised_port()
1008 | MLX5E_PROT_MASK(MLX5E_100GBASE_SR4) in ptys2ethtool_supported_advertised_port()
1009 | MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII))) { in ptys2ethtool_supported_advertised_port()
1018 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port()
1019 | MLX5E_PROT_MASK(MLX5E_40GBASE_KR4) in ptys2ethtool_supported_advertised_port()
1020 | MLX5E_PROT_MASK(MLX5E_10GBASE_KR) in ptys2ethtool_supported_advertised_port()
1021 | MLX5E_PROT_MASK(MLX5E_10GBASE_KX4) in ptys2ethtool_supported_advertised_port()
[all …]
H A Dport.c1183 link_modes |= MLX5E_PROT_MASK(i); in mlx5_port_speed2linkmodes()
1205 if (eproto.cap & MLX5E_PROT_MASK(i)) in mlx5_port_max_linkspeed()
/linux/include/linux/mlx5/
H A Dport.h151 #define MLX5E_PROT_MASK(link_mode) (1U << link_mode) macro