Searched refs:MLX5E_PROT_MASK (Results 1 – 4 of 4) sorted by relevance
813 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port()814 | MLX5E_PROT_MASK(MLX5E_10GBASE_SR) in ptys2ethtool_supported_advertised_port()815 | MLX5E_PROT_MASK(MLX5E_40GBASE_CR4) in ptys2ethtool_supported_advertised_port()816 | MLX5E_PROT_MASK(MLX5E_40GBASE_SR4) in ptys2ethtool_supported_advertised_port()817 | MLX5E_PROT_MASK(MLX5E_100GBASE_SR4) in ptys2ethtool_supported_advertised_port()818 | MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII))) { in ptys2ethtool_supported_advertised_port()827 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port()828 | MLX5E_PROT_MASK(MLX5E_40GBASE_KR4) in ptys2ethtool_supported_advertised_port()829 | MLX5E_PROT_MASK(MLX5E_10GBASE_KR) in ptys2ethtool_supported_advertised_port()830 | MLX5E_PROT_MASK(MLX5E_10GBASE_KX4) in ptys2ethtool_supported_advertised_port()[all …]
1180 link_modes |= MLX5E_PROT_MASK(i); in mlx5_port_speed2linkmodes()1202 if (eproto.cap & MLX5E_PROT_MASK(i)) in mlx5_port_max_linkspeed()
339 case MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII): in translate_eth_legacy_proto_oper()340 case MLX5E_PROT_MASK(MLX5E_1000BASE_KX): in translate_eth_legacy_proto_oper()341 case MLX5E_PROT_MASK(MLX5E_100BASE_TX): in translate_eth_legacy_proto_oper()342 case MLX5E_PROT_MASK(MLX5E_1000BASE_T): in translate_eth_legacy_proto_oper()346 case MLX5E_PROT_MASK(MLX5E_10GBASE_T): in translate_eth_legacy_proto_oper()347 case MLX5E_PROT_MASK(MLX5E_10GBASE_CX4): in translate_eth_legacy_proto_oper()348 case MLX5E_PROT_MASK(MLX5E_10GBASE_KX4): in translate_eth_legacy_proto_oper()349 case MLX5E_PROT_MASK(MLX5E_10GBASE_KR): in translate_eth_legacy_proto_oper()350 case MLX5E_PROT_MASK(MLX5E_10GBASE_CR): in translate_eth_legacy_proto_oper()351 case MLX5E_PROT_MASK(MLX5E_10GBASE_SR): in translate_eth_legacy_proto_oper()[all …]
150 #define MLX5E_PROT_MASK(link_mode) (1U << link_mode) macro