Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h38 #define MTK_RX_ETH_HLEN (ETH_HLEN + ETH_FCS_LEN) macro
39 #define MTK_RX_HLEN (NET_SKB_PAD + MTK_RX_ETH_HLEN + NET_IP_ALIGN)
Dmtk_eth_soc.c1092 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()