Home
last modified time | relevance | path

Searched refs:MLX4_PROT_MASK (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c564 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys2ethtool_update_supported_port()
565 | MLX4_PROT_MASK(MLX4_1000BASE_T) in ptys2ethtool_update_supported_port()
566 | MLX4_PROT_MASK(MLX4_100BASE_TX))) { in ptys2ethtool_update_supported_port()
568 } else if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys2ethtool_update_supported_port()
569 | MLX4_PROT_MASK(MLX4_10GBASE_SR) in ptys2ethtool_update_supported_port()
570 | MLX4_PROT_MASK(MLX4_56GBASE_SR4) in ptys2ethtool_update_supported_port()
571 | MLX4_PROT_MASK(MLX4_40GBASE_CR4) in ptys2ethtool_update_supported_port()
572 | MLX4_PROT_MASK(MLX4_40GBASE_SR4) in ptys2ethtool_update_supported_port()
573 | MLX4_PROT_MASK(MLX4_1000BASE_CX_SGMII))) { in ptys2ethtool_update_supported_port()
575 } else if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4) in ptys2ethtool_update_supported_port()
[all …]
Den_port.h75 #define MLX4_PROT_MASK(link_mode) (1<<link_mode) macro