Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c510 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys_get_supported_port()
511 | MLX4_PROT_MASK(MLX4_1000BASE_T) in ptys_get_supported_port()
512 | MLX4_PROT_MASK(MLX4_100BASE_TX))) { in ptys_get_supported_port()
516 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys_get_supported_port()
517 | MLX4_PROT_MASK(MLX4_10GBASE_SR) in ptys_get_supported_port()
518 | MLX4_PROT_MASK(MLX4_56GBASE_SR4) in ptys_get_supported_port()
519 | MLX4_PROT_MASK(MLX4_40GBASE_CR4) in ptys_get_supported_port()
520 | MLX4_PROT_MASK(MLX4_40GBASE_SR4) in ptys_get_supported_port()
521 | MLX4_PROT_MASK(MLX4_1000BASE_CX_SGMII))) { in ptys_get_supported_port()
525 if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4) in ptys_get_supported_port()
[all …]
Den_port.h76 #define MLX4_PROT_MASK(link_mode) (1<<link_mode) macro