Searched refs:eth_proto (Results 1 – 6 of 6) sorted by relevance
508 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_supported_port() local510 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys_get_supported_port()516 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys_get_supported_port()525 if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4) in ptys_get_supported_port()538 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper); in ptys_get_active_port() local540 if (!eth_proto) /* link down */ in ptys_get_active_port()541 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_active_port()543 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T) in ptys_get_active_port()549 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_SR) in ptys_get_active_port()556 if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR) in ptys_get_active_port()[all …]
76 .eth_proto = htons(ETH_P_IP),
175 .eth_proto = htons(ETH_P_IPV6),
177 skb->protocol = inner_mode->afinfo->eth_proto; in xfrm_prepare_input()
321 __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()