Searched refs:MTK_RX_ETH_HLEN (Results 1 – 2 of 2) sorted by relevance
36 #define MTK_RX_ETH_HLEN (ETH_HLEN + ETH_FCS_LEN) macro37 #define MTK_RX_HLEN (NET_SKB_PAD + MTK_RX_ETH_HLEN + NET_IP_ALIGN)
1082 if (mtu + MTK_RX_ETH_HLEN < MTK_MAX_RX_LENGTH_2K) in mtk_max_frag_size()1083 mtu = MTK_MAX_RX_LENGTH_2K - MTK_RX_ETH_HLEN; in mtk_max_frag_size()3921 dev->mtu + MTK_RX_ETH_HLEN); in mtk_hw_init()4043 int length = new_mtu + MTK_RX_ETH_HLEN; in mtk_change_mtu()4641 eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH - MTK_RX_ETH_HLEN; in mtk_add_mac()4643 eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH_2K - MTK_RX_ETH_HLEN; in mtk_add_mac()