Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1030 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port()
1031 | MLX5E_PROT_MASK(MLX5E_10GBASE_SR) in ptys2ethtool_supported_advertised_port()
1032 | MLX5E_PROT_MASK(MLX5E_40GBASE_CR4) in ptys2ethtool_supported_advertised_port()
1033 | MLX5E_PROT_MASK(MLX5E_40GBASE_SR4) in ptys2ethtool_supported_advertised_port()
1034 | MLX5E_PROT_MASK(MLX5E_100GBASE_SR4) in ptys2ethtool_supported_advertised_port()
1035 | MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII))) { in ptys2ethtool_supported_advertised_port()
1044 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port()
1045 | MLX5E_PROT_MASK(MLX5E_40GBASE_KR4) in ptys2ethtool_supported_advertised_port()
1046 | MLX5E_PROT_MASK(MLX5E_10GBASE_KR) in ptys2ethtool_supported_advertised_port()
1047 | MLX5E_PROT_MASK(MLX5E_10GBASE_KX4) in ptys2ethtool_supported_advertised_port()
[all …]
H A Dport.c1173 link_modes |= MLX5E_PROT_MASK(i); in mlx5_port_info2linkmodes()
1196 if (eproto.cap & MLX5E_PROT_MASK(i)) in mlx5_port_max_linkspeed()
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c382 case MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII): in translate_eth_legacy_proto_oper()
383 case MLX5E_PROT_MASK(MLX5E_1000BASE_KX): in translate_eth_legacy_proto_oper()
384 case MLX5E_PROT_MASK(MLX5E_100BASE_TX): in translate_eth_legacy_proto_oper()
385 case MLX5E_PROT_MASK(MLX5E_1000BASE_T): in translate_eth_legacy_proto_oper()
389 case MLX5E_PROT_MASK(MLX5E_10GBASE_T): in translate_eth_legacy_proto_oper()
390 case MLX5E_PROT_MASK(MLX5E_10GBASE_CX4): in translate_eth_legacy_proto_oper()
391 case MLX5E_PROT_MASK(MLX5E_10GBASE_KX4): in translate_eth_legacy_proto_oper()
392 case MLX5E_PROT_MASK(MLX5E_10GBASE_KR): in translate_eth_legacy_proto_oper()
393 case MLX5E_PROT_MASK(MLX5E_10GBASE_CR): in translate_eth_legacy_proto_oper()
394 case MLX5E_PROT_MASK(MLX5E_10GBASE_SR): in translate_eth_legacy_proto_oper()
[all …]
/linux/include/linux/mlx5/
H A Dport.h139 #define MLX5E_PROT_MASK(link_mode) (1U << link_mode) macro