openwrtv3/target/linux/ramips/files/drivers/net/ethernet/ralink
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
..
esw_rt3052.c ralink: use fe_reset to control all reset 2015-01-18 20:17:07 +00:00
esw_rt3052.h ralink: move ethernet driver to files/ 2014-11-06 09:31:03 +00:00
gsw_mt7620a.c ralink: use fe_reset to control all reset 2015-01-18 20:17:07 +00:00
gsw_mt7620a.h ralink: add support for mt7621 ethernet 2014-11-12 14:54:50 +00:00
Kconfig ralink: add support for mt7621 ethernet 2014-11-12 14:54:50 +00:00
Makefile ralink: cleanup ethernet Makefile/Kconfig 2014-11-06 09:31:09 +00:00
mdio.c ralink: move ethernet driver to files/ 2014-11-06 09:31:03 +00:00
mdio.h ralink: move ethernet driver to files/ 2014-11-06 09:31:03 +00:00
mdio_rt2880.c ralink: move ethernet driver to files/ 2014-11-06 09:31:03 +00:00
mdio_rt2880.h ralink: move ethernet driver to files/ 2014-11-06 09:31:03 +00:00
mt7530.c ramips: Allow to receive vlan over untag ports on MT7530 2015-10-05 10:26:09 +00:00
mt7530.h ralink: move ethernet driver to files/ 2014-11-06 09:31:03 +00:00
ralink_ethtool.c ramips: collect rx related members to fe_rx_ring struct 2015-07-10 19:41:48 +00:00
ralink_ethtool.h ralink: move ethernet driver to files/ 2014-11-06 09:31:03 +00:00
ralink_soc_eth.c ramips: Fix too small rx buffer 2015-10-05 10:26:28 +00:00
ralink_soc_eth.h ramips: Fix setting of rx buffer length 2015-10-05 10:26:21 +00:00
soc_mt7620.c ramips: make ethernet register map u16 instead of u32 2015-03-22 15:11:14 +00:00
soc_rt305x.c ramips: make ethernet register map u16 instead of u32 2015-03-22 15:11:14 +00:00
soc_rt2880.c ralink: use random generate mac address instead of default one. 2015-03-13 08:38:01 +00:00
soc_rt3883.c ralink: use random generate mac address instead of default one. 2015-03-13 08:38:01 +00:00