Searched refs:MTK_RX_ETH_HLEN (Results 1 – 2 of 2) sorted by relevance
38 #define MTK_RX_ETH_HLEN (ETH_HLEN + ETH_FCS_LEN) macro39 #define MTK_RX_HLEN (NET_SKB_PAD + MTK_RX_ETH_HLEN + NET_IP_ALIGN)
1092 if (mtu + MTK_RX_ETH_HLEN < MTK_MAX_RX_LENGTH_2K) in mtk_max_frag_size()1093 mtu = MTK_MAX_RX_LENGTH_2K - MTK_RX_ETH_HLEN; in mtk_max_frag_size()3960 dev->mtu + MTK_RX_ETH_HLEN); in mtk_hw_init()4082 int length = new_mtu + MTK_RX_ETH_HLEN; in mtk_change_mtu()4696 eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH - MTK_RX_ETH_HLEN; in mtk_add_mac()4698 eth->netdev[id]->max_mtu = MTK_MAX_RX_LENGTH_2K - MTK_RX_ETH_HLEN; in mtk_add_mac()