Home
last modified time | relevance | path

Searched refs:MTK_RX_ETH_HLEN (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.h36 #define MTK_RX_ETH_HLEN (ETH_HLEN + ETH_FCS_LEN) macro
37 #define MTK_RX_HLEN (NET_SKB_PAD + MTK_RX_ETH_HLEN + NET_IP_ALIGN)
H A Dmtk_eth_soc.c1082 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()