Home
last modified time | relevance | path

Searched refs:eth_type_vlan (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/include/linux/
H A Dif_vlan.h315 static inline bool eth_type_vlan(__be16 ethertype) in eth_type_vlan() function
542 if (!eth_type_vlan(veth->h_vlan_proto)) in __vlan_get_tag()
605 if (eth_type_vlan(type)) { in __vlan_get_protocol_offset()
623 } while (eth_type_vlan(type)); in __vlan_get_protocol_offset()
746 likely(!eth_type_vlan(skb->protocol))) in skb_vlan_tagged()
766 if (likely(!eth_type_vlan(protocol))) in skb_vlan_tagged_multi()
776 if (!eth_type_vlan(protocol)) in skb_vlan_tagged_multi()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_sriov.c110 if (!eth_type_vlan(vlan_proto)) in nfp_app_set_vf_vlan()
/openbmc/linux/net/bridge/
H A Dbr_forward.c42 eth_type_vlan(skb->protocol)) { in br_dev_queue_push_xmit()
H A Dbr_netlink.c1186 !eth_type_vlan(nla_get_be16(data[IFLA_BR_VLAN_PROTOCOL]))) in br_validate()
H A Dbr_vlan.c1012 if (!eth_type_vlan(htons(val))) in br_vlan_set_proto()
/openbmc/linux/net/openvswitch/
H A Dvport.c528 eth_type_vlan(skb->protocol)) in packet_length()
H A Dflow.c455 if (likely(!eth_type_vlan(vh->tpid))) in parse_vlan_tag()
927 if (unlikely(eth_type_vlan(skb->protocol))) in key_extract()
H A Dflow_netlink.c1006 eth_type_vlan(nla_get_be16(a[OVS_KEY_ATTR_ETHERTYPE])))) { in validate_vlan_from_nlattrs()
2068 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
2075 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
2103 if (eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
3261 if (!eth_type_vlan(vlan->vlan_tpid)) in __ovs_nla_copy_actions()
/openbmc/linux/include/net/
H A Dip_tunnels.h374 if (eth_type_vlan(type)) in skb_vlan_inet_prepare()
/openbmc/linux/drivers/net/
H A Dtap.c748 if (eth_type_vlan(skb->protocol) && in tap_get_user()
1208 if (eth_type_vlan(skb->protocol) && in tap_get_user_xdp()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c777 if (eth_type_vlan(skb->protocol)) in otx2_sqe_add_hdr()
1044 } else if (eth_type_vlan(eth->h_proto)) { in otx2_ptp_is_sync()
H A Dotx2_tc.c473 if (!eth_type_vlan(match.key->vlan_tpid)) { in otx2_tc_process_vlan()
/openbmc/linux/net/packet/
H A Daf_packet.c575 if (unlikely(eth_type_vlan(proto))) in vlan_get_protocol_dgram()
1057 } else if (unlikely(po->sk.sk_type == SOCK_DGRAM && eth_type_vlan(pkc->skb->protocol))) { in prb_fill_vlan_info()
1987 eth_type_vlan(skb->protocol) && in packet_parse_headers()
2481 } else if (unlikely(sk->sk_type == SOCK_DGRAM && eth_type_vlan(skb->protocol))) { in tpacket_rcv()
3601 } else if (unlikely(sock->type == SOCK_DGRAM && eth_type_vlan(skb->protocol))) { in packet_recvmsg()
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.c531 if (eth_type_vlan(skb->protocol)) { in lan966x_hw_offload()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx.c1973 if (!skb_vlan_tag_present(skb) && eth_type_vlan(skb->protocol)) in ice_tx_prepare_vlan_flags()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c570 if (eth_type_vlan(eth_hdr(skb)->h_proto)) { in netvsc_xmit()
/openbmc/linux/net/core/
H A Dskbuff.c6004 if (unlikely(!eth_type_vlan(skb->protocol))) in skb_vlan_pop()
6012 if (likely(!eth_type_vlan(skb->protocol))) in skb_vlan_pop()
H A Ddev.c5426 if (eth_type_vlan(skb->protocol)) { in __netif_receive_skb_core()
5513 } else if (eth_type_vlan(skb->protocol)) { in __netif_receive_skb_core()
/openbmc/linux/net/sched/
H A Dcls_flower.c1697 if (good_num_of_vlans || eth_type_vlan(*ethertype)) in is_vlan_key()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Dfec_main.c3778 if (eth_type_vlan(skb->protocol)) { in fec_enet_select_queue()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c3824 while (eth_type_vlan(type)) { in hns3_gro_complete()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c1715 if (eth_type_vlan(vlan_proto)) { in bnxt_tpa_end()
1991 if (eth_type_vlan(vlan_proto)) { in bnxt_rx_pkt()