Home
last modified time | relevance | path

Searched refs:eth_proto (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c508 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_supported_port() local
510 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() local
540 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 …]
/linux-4.1.27/net/ipv4/
Dxfrm4_state.c76 .eth_proto = htons(ETH_P_IP),
/linux-4.1.27/net/ipv6/
Dxfrm6_state.c175 .eth_proto = htons(ETH_P_IPV6),
/linux-4.1.27/net/xfrm/
Dxfrm_input.c177 skb->protocol = inner_mode->afinfo->eth_proto; in xfrm_prepare_input()
/linux-4.1.27/include/net/
Dxfrm.h321 __be16 eth_proto; member
/linux-4.1.27/drivers/net/ethernet/sun/
Dniu.c6567 u16 eth_proto, eth_proto_inner; in niu_compute_tx_flags() local
6572 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()