Searched refs:brcm_tag (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/net/dsa/
H A Dtag_brcm.c64 u8 *brcm_tag; brcm_tag_xmit() local
74 brcm_tag = skb->data + 2 * ETH_ALEN; brcm_tag_xmit()
79 brcm_tag[0] = (1 << BRCM_OPCODE_SHIFT) | brcm_tag_xmit()
81 brcm_tag[1] = 0; brcm_tag_xmit()
82 brcm_tag[2] = 0; brcm_tag_xmit()
84 brcm_tag[2] = BRCM_IG_DSTMAP2_MASK; brcm_tag_xmit()
85 brcm_tag[3] = (1 << p->port) & BRCM_IG_DSTMAP1_MASK; brcm_tag_xmit()
100 u8 *brcm_tag; brcm_tag_rcv() local
115 brcm_tag = skb->data - 2; brcm_tag_rcv()
118 if (unlikely((brcm_tag[0] >> BRCM_OPCODE_SHIFT) & BRCM_OPCODE_MASK)) brcm_tag_rcv()
124 WARN_ON(brcm_tag[2] & BRCM_EG_RC_RSVD); brcm_tag_rcv()
127 source_port = brcm_tag[3] & BRCM_EG_PID_MASK; brcm_tag_rcv()

Completed in 53 milliseconds