Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1595 - MT7621: MTU limited to 2048 despite the hardware supports 9K Jumbo Frame #6638

Closed
openwrt-bot opened this issue Jun 19, 2018 · 4 comments
Labels

Comments

@openwrt-bot
Copy link

user3016863:

Device: UniElec U7621-06
OpenWrt/LEDE version: Trunk

According to the spec sheet, MT7621 should support 9K Jumbo Frame, but the MTU is limited to 2048 in target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c :

if (IS_ENABLED(CONFIG_SOC_MT7621))
netdev->max_mtu = 2048;

@openwrt-bot
Copy link
Author

mkresin:

Let me ask the fist and obvious question, have you tried to change the referenced line to netdev->max_mtu = 9000? Are 9k frames send over the wire with the change applied or introduces it any issues?

@openwrt-bot
Copy link
Author

user3016863:

The best I can do is ping -c 10 -M do 192.168.1.XXX -s 2002 on Linux. When the value is 2003 or above, the packets are all lost.

@openwrt-bot
Copy link
Author

nbd:

This datasheet appears to be wrong. I looked in other datsheets that describe the configuration registers in detail, and those indicate a limit of 2048 bytes per received frame. I tried bypassing that limit by changing the registers, but larger frames are still not received.

@romanrm
Copy link

romanrm commented Apr 7, 2024

It can be made to work between the switch ports, not to the CPU port. See the other issue referenced above for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants