openwrtv3/target/linux/ramips
John Crispin 7b306e3eb3 ramips: Fix too small rx buffer
The driver assumes that the maximum received buffer for non-jumbo frames is
1536 bytes. But the allocation of the rx fragment doesn't reflect that. It
currently allocates fragments which will only be large enough to be used as
rx buffer with the size of 1534 bytes. This is problematic because the GMAC
will now try to write to 2 bytes which don't belong to its receive buffer
when a large enough ethernet frame is received.

This may already be a problem on existing chips but will at least become a
problem when the 1536 byte rx modus is enabled on MT7621a. It is required
on this SoC to receive ethernet frames which use their full 1500 bytes MTU
and a VLAN header next to the switch VLAN tag.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 47116
2015-10-05 10:26:28 +00:00
..
base-files ramips: Add base-files for HiWiFi HC5x61 models 2015-10-05 10:25:47 +00:00
dts ramips: Add DTS files for HiWiFi HC5x61 models 2015-10-05 10:25:53 +00:00
files ramips: Fix too small rx buffer 2015-10-05 10:26:28 +00:00
image ramips: Add build files for HiWiFi HC5x61 models 2015-10-05 10:26:02 +00:00
mt7620 ramips: Add build files for HiWiFi HC5x61 models 2015-10-05 10:26:02 +00:00
mt7621 ramips: Enable RTC support for PBR-M1 2015-09-11 16:32:58 +00:00
mt7628 ramips: disable the openwrt commandline hack 2015-08-30 12:18:14 +00:00
mt7688 ramips: disable the openwrt commandline hack 2015-08-30 12:18:14 +00:00
patches-3.18 ralink: the mmc driver can now handle CD lines that are active low 2015-10-01 18:13:47 +00:00
rt288x ramips: disable the openwrt commandline hack 2015-08-30 12:18:14 +00:00
rt305x ramips: Added WIZnet WizFi630A Platform based on Ralink RT5350 2015-09-14 20:09:31 +00:00
rt3883 ramips: disable the openwrt commandline hack 2015-08-30 12:18:14 +00:00
base-files.mk ramips: remove default network configuration, and generate that from uci-defaults 2011-12-01 22:48:51 +00:00
Makefile ramips: add subtarget for mt7688 2015-07-24 09:11:56 +00:00
modules.mk ramips: make sd driver depend on mt7688 2015-07-24 09:12:16 +00:00