ramips: Enable rx of 1536 bytes ethernet frames on MT7621
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Oct 2015 10:26:34 +0000 (10:26 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 5 Oct 2015 10:26:34 +0000 (10:26 +0000)
commit118b7111459bbe81a9947e82a03cbd47fe1396a9
tree927fd679c957d56478eb3d8582bb8f2ffe998804
parent966bec6badc13cd30bc40298f0e27c68cbd1adb0
ramips: Enable rx of 1536 bytes ethernet frames on MT7621

The default switch frame size (with FCS + header) is 1536 bytes. But the
GMAC only accepted frames up to 1522 bytes. Setting it to 1536 allows to
receive ethernet frames using the full of MTU 1500 + an extra VLAN header +
VLAN header added by the switch.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47117 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620a.c