ramips: Enable rx of 1536 bytes ethernet frames on MT7621
authorJohn Crispin <john@openwrt.org>
Mon, 5 Oct 2015 10:26:34 +0000 (10:26 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 5 Oct 2015 10:26:34 +0000 (10:26 +0000)
commit1ef285af36c537e4fee7ee711c192db2ece3f52b
tree927fd679c957d56478eb3d8582bb8f2ffe998804
parent5d9ce08ce4ef3a53b2f623255df891a2c1551f7a
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>
SVN-Revision: 47117
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620a.c