Home
last modified time | relevance | path

Searched refs:MLX5E_PROT_MASK (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c750 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port()
751 | MLX5E_PROT_MASK(MLX5E_10GBASE_SR) in ptys2ethtool_supported_advertised_port()
752 | MLX5E_PROT_MASK(MLX5E_40GBASE_CR4) in ptys2ethtool_supported_advertised_port()
753 | MLX5E_PROT_MASK(MLX5E_40GBASE_SR4) in ptys2ethtool_supported_advertised_port()
754 | MLX5E_PROT_MASK(MLX5E_100GBASE_SR4) in ptys2ethtool_supported_advertised_port()
755 | MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII))) { in ptys2ethtool_supported_advertised_port()
764 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port()
765 | MLX5E_PROT_MASK(MLX5E_40GBASE_KR4) in ptys2ethtool_supported_advertised_port()
766 | MLX5E_PROT_MASK(MLX5E_10GBASE_KR) in ptys2ethtool_supported_advertised_port()
767 | MLX5E_PROT_MASK(MLX5E_10GBASE_KX in ptys2ethtool_supported_advertised_port()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c818 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_10GBASE_CR) in ptys2ethtool_supported_advertised_port()
819 | MLX5E_PROT_MASK(MLX5E_10GBASE_SR) in ptys2ethtool_supported_advertised_port()
820 | MLX5E_PROT_MASK(MLX5E_40GBASE_CR4) in ptys2ethtool_supported_advertised_port()
821 | MLX5E_PROT_MASK(MLX5E_40GBASE_SR4) in ptys2ethtool_supported_advertised_port()
822 | MLX5E_PROT_MASK(MLX5E_100GBASE_SR4) in ptys2ethtool_supported_advertised_port()
823 | MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII))) { in ptys2ethtool_supported_advertised_port()
832 if (eth_proto_cap & (MLX5E_PROT_MASK(MLX5E_100GBASE_KR4) in ptys2ethtool_supported_advertised_port()
833 | MLX5E_PROT_MASK(MLX5E_40GBASE_KR4) in ptys2ethtool_supported_advertised_port()
834 | MLX5E_PROT_MASK(MLX5E_10GBASE_KR) in ptys2ethtool_supported_advertised_port()
835 | MLX5E_PROT_MASK(MLX5E_10GBASE_KX in ptys2ethtool_supported_advertised_port()
[all...]
H A Dport.c1180 link_modes |= MLX5E_PROT_MASK(i); in mlx5_port_speed2linkmodes()
1202 if (eproto.cap & MLX5E_PROT_MASK(i)) in mlx5_port_max_linkspeed()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dmain.c333 case MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII): in translate_eth_legacy_proto_oper()
334 case MLX5E_PROT_MASK(MLX5E_1000BASE_KX): in translate_eth_legacy_proto_oper()
335 case MLX5E_PROT_MASK(MLX5E_100BASE_TX): in translate_eth_legacy_proto_oper()
336 case MLX5E_PROT_MASK(MLX5E_1000BASE_T): in translate_eth_legacy_proto_oper()
340 case MLX5E_PROT_MASK(MLX5E_10GBASE_T): in translate_eth_legacy_proto_oper()
341 case MLX5E_PROT_MASK(MLX5E_10GBASE_CX4): in translate_eth_legacy_proto_oper()
342 case MLX5E_PROT_MASK(MLX5E_10GBASE_KX4): in translate_eth_legacy_proto_oper()
343 case MLX5E_PROT_MASK(MLX5E_10GBASE_KR): in translate_eth_legacy_proto_oper()
344 case MLX5E_PROT_MASK(MLX5E_10GBASE_CR): in translate_eth_legacy_proto_oper()
345 case MLX5E_PROT_MASK(MLX5E_10GBASE_S in translate_eth_legacy_proto_oper()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dmain.c340 case MLX5E_PROT_MASK(MLX5E_1000BASE_CX_SGMII): in translate_eth_legacy_proto_oper()
341 case MLX5E_PROT_MASK(MLX5E_1000BASE_KX): in translate_eth_legacy_proto_oper()
342 case MLX5E_PROT_MASK(MLX5E_100BASE_TX): in translate_eth_legacy_proto_oper()
343 case MLX5E_PROT_MASK(MLX5E_1000BASE_T): in translate_eth_legacy_proto_oper()
347 case MLX5E_PROT_MASK(MLX5E_10GBASE_T): in translate_eth_legacy_proto_oper()
348 case MLX5E_PROT_MASK(MLX5E_10GBASE_CX4): in translate_eth_legacy_proto_oper()
349 case MLX5E_PROT_MASK(MLX5E_10GBASE_KX4): in translate_eth_legacy_proto_oper()
350 case MLX5E_PROT_MASK(MLX5E_10GBASE_KR): in translate_eth_legacy_proto_oper()
351 case MLX5E_PROT_MASK(MLX5E_10GBASE_CR): in translate_eth_legacy_proto_oper()
352 case MLX5E_PROT_MASK(MLX5E_10GBASE_S in translate_eth_legacy_proto_oper()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport.c233 if (eproto.cap & MLX5E_PROT_MASK(i)) in mlx5e_port_max_linkspeed()
251 link_modes |= MLX5E_PROT_MASK(i); in mlx5e_port_speed2linkmodes()
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Dport.h136 #define MLX5E_PROT_MASK(link_mode) (1 << link_mode) macro
/kernel/linux/linux-6.6/include/linux/mlx5/
H A Dport.h150 #define MLX5E_PROT_MASK(link_mode) (1U << link_mode) macro

Completed in 15 milliseconds