Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c523 u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap); in ptys_get_supported_port() local
525 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() local
555 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 …]
/linux-4.4.14/net/ipv4/
Dxfrm4_state.c76 .eth_proto = htons(ETH_P_IP),
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c525 static u8 get_connector_port(u32 eth_proto) in get_connector_port() argument
527 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()
/linux-4.4.14/net/ipv6/
Dxfrm6_state.c175 .eth_proto = htons(ETH_P_IPV6),
/linux-4.4.14/net/xfrm/
Dxfrm_input.c177 skb->protocol = inner_mode->afinfo->eth_proto; in xfrm_prepare_input()
/linux-4.4.14/include/net/
Dxfrm.h323 __be16 eth_proto; member
/linux-4.4.14/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()