Searched refs:MLX5E_PROT_MASK (Results 1 – 5 of 5) sorted by relevance
547 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port()548 | MLX5E_PROT_MASK(MLX5E_10GBASE_SR) in ptys2ethtool_supported_advertised_port()549 | MLX5E_PROT_MASK(MLX5E_40GBASE_CR4) in ptys2ethtool_supported_advertised_port()550 | MLX5E_PROT_MASK(MLX5E_40GBASE_SR4) in ptys2ethtool_supported_advertised_port()551 | MLX5E_PROT_MASK(MLX5E_100GBASE_SR4) in ptys2ethtool_supported_advertised_port()552 | MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII))) { in ptys2ethtool_supported_advertised_port()561 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port()562 | MLX5E_PROT_MASK(MLX5E_40GBASE_KR4) in ptys2ethtool_supported_advertised_port()563 | MLX5E_PROT_MASK(MLX5E_10GBASE_KR) in ptys2ethtool_supported_advertised_port()564 | MLX5E_PROT_MASK(MLX5E_10GBASE_KX4) in ptys2ethtool_supported_advertised_port()[all …]
95 if (eth_proto_oper & MLX5E_PROT_MASK(i)) in mlx5e_test_link_speed()
111 if (proto_cap & MLX5E_PROT_MASK(i)) in mlx5e_port_max_linkspeed()125 link_modes |= MLX5E_PROT_MASK(i); in mlx5e_port_speed2linkmodes()
330 case MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII): in translate_eth_proto_oper()331 case MLX5E_PROT_MASK(MLX5E_1000BASE_KX): in translate_eth_proto_oper()332 case MLX5E_PROT_MASK(MLX5E_100BASE_TX): in translate_eth_proto_oper()333 case MLX5E_PROT_MASK(MLX5E_1000BASE_T): in translate_eth_proto_oper()337 case MLX5E_PROT_MASK(MLX5E_10GBASE_T): in translate_eth_proto_oper()338 case MLX5E_PROT_MASK(MLX5E_10GBASE_CX4): in translate_eth_proto_oper()339 case MLX5E_PROT_MASK(MLX5E_10GBASE_KX4): in translate_eth_proto_oper()340 case MLX5E_PROT_MASK(MLX5E_10GBASE_KR): in translate_eth_proto_oper()341 case MLX5E_PROT_MASK(MLX5E_10GBASE_CR): in translate_eth_proto_oper()342 case MLX5E_PROT_MASK(MLX5E_10GBASE_SR): in translate_eth_proto_oper()[all …]
108 #define MLX5E_PROT_MASK(link_mode) (1 << link_mode) macro