Home
last modified time | relevance | path

Searched refs:MTK_HDR_LEN (Results 1 – 3 of 3) sorted by relevance

/linux/net/dsa/
H A Dtag_mtk.c15 #define MTK_HDR_LEN 4 macro
47 skb_push(skb, MTK_HDR_LEN); in mtk_tag_xmit()
48 dsa_alloc_etype_header(skb, MTK_HDR_LEN); in mtk_tag_xmit()
74 if (unlikely(!pskb_may_pull(skb, MTK_HDR_LEN))) in mtk_tag_rcv()
81 skb_pull_rcsum(skb, MTK_HDR_LEN); in mtk_tag_rcv()
83 dsa_strip_etype_header(skb, MTK_HDR_LEN); in mtk_tag_rcv()
102 .needed_headroom = MTK_HDR_LEN,
/linux/drivers/net/dsa/
H A Dmt7530.h14 #define MTK_HDR_LEN 4 macro
15 #define MT7530_MAX_MTU (15 * 1024 - ETH_HLEN - ETH_FCS_LEN - MTK_HDR_LEN)
H A Dmt7530.c1251 length = new_mtu + ETH_HLEN + MTK_HDR_LEN + ETH_FCS_LEN; in mt7530_port_change_mtu()