eth_proto         553 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap);
eth_proto         555 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T)
eth_proto         559 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	} else if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR)
eth_proto         566 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	} else if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4)
eth_proto         578 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	u32 eth_proto = be32_to_cpu(ptys_reg->eth_proto_oper);
eth_proto         580 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (!eth_proto) /* link down */
eth_proto         581 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		eth_proto = be32_to_cpu(ptys_reg->eth_proto_cap);
eth_proto         583 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_T)
eth_proto         589 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_SR)
eth_proto         596 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (eth_proto & (MLX4_PROT_MASK(MLX4_10GBASE_CR)
eth_proto         602 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (eth_proto & (MLX4_PROT_MASK(MLX4_56GBASE_KR4)
eth_proto         699 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 					   u32 eth_proto,
eth_proto         704 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		if (eth_proto & MLX4_PROT_MASK(i))
eth_proto         748 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	u32 eth_proto;
eth_proto         779 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	eth_proto = be32_to_cpu(ptys_reg.eth_proto_cap);
eth_proto         781 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 				       eth_proto, SUPPORTED);
eth_proto         783 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	eth_proto = be32_to_cpu(ptys_reg.eth_proto_admin);
eth_proto         785 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 				       eth_proto, ADVERTISED);
eth_proto         812 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	eth_proto = be32_to_cpu(ptys_reg.eth_proto_lp_adv);
eth_proto         817 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		eth_proto, ADVERTISED);
eth_proto         839 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c static u8 get_connector_port(u32 eth_proto, u8 connector_type, bool ext)
eth_proto         844 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (eth_proto &
eth_proto         852 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (eth_proto &
eth_proto         859 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (eth_proto &
eth_proto          53 drivers/net/ethernet/qlogic/qede/qede_filter.c 	__be16  eth_proto;
eth_proto         417 drivers/net/ethernet/qlogic/qede/qede_filter.c 		    tpos->tuple.eth_proto == skb->protocol &&
eth_proto         536 drivers/net/ethernet/qlogic/qede/qede_filter.c 	n->tuple.eth_proto = skb->protocol;
eth_proto        1424 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (fltr->tuple.eth_proto == htons(ETH_P_IP)) {
eth_proto        1485 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (t->eth_proto == htons(ETH_P_IP))
eth_proto        1501 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (a->eth_proto != htons(ETH_P_IP) ||
eth_proto        1502 drivers/net/ethernet/qlogic/qede/qede_filter.c 	    b->eth_proto != htons(ETH_P_IP))
eth_proto        1516 drivers/net/ethernet/qlogic/qede/qede_filter.c 	eth->h_proto = t->eth_proto;
eth_proto        1543 drivers/net/ethernet/qlogic/qede/qede_filter.c 	if (a->eth_proto != htons(ETH_P_IPV6) ||
eth_proto        1544 drivers/net/ethernet/qlogic/qede/qede_filter.c 	    b->eth_proto != htons(ETH_P_IPV6))
eth_proto        1563 drivers/net/ethernet/qlogic/qede/qede_filter.c 	eth->h_proto = t->eth_proto;
eth_proto        1862 drivers/net/ethernet/qlogic/qede/qede_filter.c 	tuple->eth_proto = htons(ETH_P_IPV6);
eth_proto        1872 drivers/net/ethernet/qlogic/qede/qede_filter.c 	tuple->eth_proto = htons(ETH_P_IP);
eth_proto        1882 drivers/net/ethernet/qlogic/qede/qede_filter.c 	tuple->eth_proto = htons(ETH_P_IPV6);
eth_proto        1892 drivers/net/ethernet/qlogic/qede/qede_filter.c 	tuple->eth_proto = htons(ETH_P_IP);
eth_proto        6545 drivers/net/ethernet/sun/niu.c 	u16 eth_proto, eth_proto_inner;
eth_proto        6550 drivers/net/ethernet/sun/niu.c 	eth_proto = be16_to_cpu(ehdr->h_proto);
eth_proto        6551 drivers/net/ethernet/sun/niu.c 	eth_proto_inner = eth_proto;
eth_proto        6552 drivers/net/ethernet/sun/niu.c 	if (eth_proto == ETH_P_8021Q) {
eth_proto        6600 drivers/net/ethernet/sun/niu.c 	       ((eth_proto == ETH_P_8021Q) ? TXHDR_VLAN : 0) |
eth_proto         339 drivers/staging/ks7010/ks_hostif.c 	unsigned short eth_proto;
eth_proto         350 drivers/staging/ks7010/ks_hostif.c 	eth_proto = ntohs(eth_hdr->h_proto);
eth_proto         367 drivers/staging/ks7010/ks_hostif.c 			   eth_proto, priv->rx_size);
eth_proto        1070 drivers/staging/ks7010/ks_hostif.c 	unsigned short eth_proto;
eth_proto        1157 drivers/staging/ks7010/ks_hostif.c 	eth_proto = ntohs(eth_hdr->h_proto);
eth_proto        1160 drivers/staging/ks7010/ks_hostif.c 	if (eth_proto == ETH_P_PAE &&
eth_proto        1171 drivers/staging/ks7010/ks_hostif.c 		if (eth_proto == ETH_P_PAE &&
eth_proto        1199 drivers/staging/ks7010/ks_hostif.c 		if (eth_proto == ETH_P_PAE)
eth_proto        1215 drivers/staging/ks7010/ks_hostif.c 	if (eth_proto == ETH_P_PAE &&
eth_proto          48 samples/bpf/tc_l2_redirect_kern.c static __always_inline bool is_vip_addr(__be16 eth_proto, __be32 daddr)
eth_proto          50 samples/bpf/tc_l2_redirect_kern.c 	if (eth_proto == htons(ETH_P_IP))
eth_proto          52 samples/bpf/tc_l2_redirect_kern.c 	else if (eth_proto == htons(ETH_P_IPV6))
eth_proto         113 samples/bpf/xdp_redirect_cpu_kern.c 	       u16 *eth_proto, u64 *l3_offset)
eth_proto         149 samples/bpf/xdp_redirect_cpu_kern.c 	*eth_proto = ntohs(eth_type);
eth_proto         329 samples/bpf/xdp_redirect_cpu_kern.c 	u16 eth_proto = 0;
eth_proto         342 samples/bpf/xdp_redirect_cpu_kern.c 	if (!(parse_eth(eth, data_end, &eth_proto, &l3_offset)))
eth_proto         346 samples/bpf/xdp_redirect_cpu_kern.c 	switch (eth_proto) {
eth_proto         397 samples/bpf/xdp_redirect_cpu_kern.c 	u16 eth_proto = 0;
eth_proto         411 samples/bpf/xdp_redirect_cpu_kern.c 	if (!(parse_eth(eth, data_end, &eth_proto, &l3_offset)))
eth_proto         415 samples/bpf/xdp_redirect_cpu_kern.c 	switch (eth_proto) {
eth_proto         517 samples/bpf/xdp_redirect_cpu_kern.c 	u16 eth_proto = 0;
eth_proto         536 samples/bpf/xdp_redirect_cpu_kern.c 	if (!(parse_eth(eth, data_end, &eth_proto, &l3_offset)))
eth_proto         540 samples/bpf/xdp_redirect_cpu_kern.c 	switch (eth_proto) {
eth_proto         169 tools/testing/selftests/bpf/progs/test_l4lb.c 	unsigned short eth_proto;
eth_proto         459 tools/testing/selftests/bpf/progs/test_l4lb.c 	__u32 eth_proto;
eth_proto         465 tools/testing/selftests/bpf/progs/test_l4lb.c 	eth_proto = eth->eth_proto;
eth_proto         466 tools/testing/selftests/bpf/progs/test_l4lb.c 	if (eth_proto == bpf_htons(ETH_P_IP))
eth_proto         468 tools/testing/selftests/bpf/progs/test_l4lb.c 	else if (eth_proto == bpf_htons(ETH_P_IPV6))
eth_proto         165 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	unsigned short eth_proto;
eth_proto         459 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	__u32 eth_proto;
eth_proto         465 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	eth_proto = eth->eth_proto;
eth_proto         466 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	if (eth_proto == bpf_htons(ETH_P_IP))
eth_proto         468 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c 	else if (eth_proto == bpf_htons(ETH_P_IPV6))
eth_proto          23 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c 					void *data_end, __u16 eth_proto,
eth_proto          30 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c 	if (eth_proto == bpf_htons(ETH_P_IP)) {
eth_proto          39 tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c 	} else if (eth_proto == bpf_htons(ETH_P_IPV6)) {
eth_proto         213 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	unsigned short eth_proto;
eth_proto         301 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	new_eth->eth_proto = 56710;
eth_proto         349 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	new_eth->eth_proto = 8;
eth_proto         385 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 		new_eth->eth_proto = 8;
eth_proto         387 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 		new_eth->eth_proto = 56710;
eth_proto         405 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	new_eth->eth_proto = 8;
eth_proto         806 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	__u32 eth_proto;
eth_proto         812 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	eth_proto = bpf_ntohs(eth->eth_proto);
eth_proto         813 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	if (eth_proto == ETH_P_IP)
eth_proto         815 tools/testing/selftests/bpf/progs/test_xdp_noinline.c 	else if (eth_proto == ETH_P_IPV6)