Searched refs:eth_proto (Results 1 – 7 of 7) sorted by relevance
523 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_supported_port() local525 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys_get_supported_port()531 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys_get_supported_port()540 if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4) in ptys_get_supported_port()553 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port() local555 if (!eth_proto) /* link down */ in ptys_get_active_port()556 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port()558 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys_get_active_port()564 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_SR) in ptys_get_active_port()571 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys_get_active_port()[all …]
76 .eth_proto = htons(ETH_P_IP),
525 static u8 get_connector_port(u32 eth_proto) in get_connector_port() argument527 if (eth_proto & (MLX5E_PROT_MASK(MLX5E_10GBASE_SR) in get_connector_port()534 if (eth_proto & (MLX5E_PROT_MASK(MLX5E_40GBASE_CR4) in get_connector_port()540 if (eth_proto & (MLX5E_PROT_MASK(MLX5E_10GBASE_KX4) in get_connector_port()
175 .eth_proto = htons(ETH_P_IPV6),
177 skb->protocol = inner_mode->afinfo->eth_proto; in xfrm_prepare_input()
323 __be16 eth_proto; member
6567 u16 eth_proto, eth_proto_inner; in niu_compute_tx_flags() local6572 eth_proto = be16_to_cpu(ehdr->h_proto); in niu_compute_tx_flags()6573 eth_proto_inner = eth_proto; in niu_compute_tx_flags()6574 if (eth_proto == ETH_P_8021Q) { in niu_compute_tx_flags()6622 ((eth_proto == ETH_P_8021Q) ? TXHDR_VLAN : 0) | in niu_compute_tx_flags()