Home
last modified time | relevance | path

Searched refs:xmit_tpid (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/dsa/
H A Dtag_mtk.c27 u8 xmit_tpid; in mtk_tag_xmit() local
40 xmit_tpid = MTK_HDR_XMIT_TAGGED_TPID_8100; in mtk_tag_xmit()
43 xmit_tpid = MTK_HDR_XMIT_TAGGED_TPID_88A8; in mtk_tag_xmit()
46 xmit_tpid = MTK_HDR_XMIT_UNTAGGED; in mtk_tag_xmit()
56 mtk_tag[0] = xmit_tpid; in mtk_tag_xmit()
60 if (xmit_tpid == MTK_HDR_XMIT_UNTAGGED) { in mtk_tag_xmit()
H A Dtag_sja1105.c243 __be16 xmit_tpid = htons(sja1105_xmit_tpid(dp)); in sja1105_pvid_tag_control_pkt() local
259 if (hdr->h_vlan_proto == xmit_tpid) in sja1105_pvid_tag_control_pkt()
262 return vlan_insert_tag(skb, xmit_tpid, (pcp << VLAN_PRIO_SHIFT) | in sja1105_pvid_tag_control_pkt()