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)
1083 if (mtu + MTK_RX_ETH_HLEN < MTK_MAX_RX_LENGTH_2K) in mtk_max_frag_size()1084 mtu = MTK_MAX_RX_LENGTH_2K - MTK_RX_ETH_HLEN; in mtk_max_frag_size()3922 dev->mtu + MTK_RX_ETH_HLEN); in mtk_hw_init()4044 int length = new_mtu + MTK_RX_ETH_HLEN; in mtk_change_mtu()4642 eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH - MTK_RX_ETH_HLEN; in mtk_add_mac()4644 eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH_2K - MTK_RX_ETH_HLEN; in mtk_add_mac()