1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-15 10:37:31 +02:00
openwrt-xburst/target/linux/ar71xx/files/drivers/net/ag71xx
nbd ea9bbe955d ar71xx: fix up alignment handling
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned
- alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment
- ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets
- use memmove to re-align small packets, if necessary

tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 23:31:17 +00:00
..
ag71xx_ar8216.c ar71xx: fix up alignment handling 2010-04-15 23:31:17 +00:00
ag71xx_debugfs.c ar71xx: add NAPI statistics to the ag71xx driver 2010-01-08 20:22:55 +00:00
ag71xx_ethtool.c ar71xx: add dummy debugfs support for the ag71xx driver 2010-01-04 14:28:25 +00:00
ag71xx_main.c ar71xx: fix up alignment handling 2010-04-15 23:31:17 +00:00
ag71xx_mdio.c ar71xx: add dummy debugfs support for the ag71xx driver 2010-01-04 14:28:25 +00:00
ag71xx_phy.c ar71xx: change PHY select logic, and update phy_masks 2010-03-21 18:16:07 +00:00
ag71xx.h ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions 2010-04-09 08:40:06 +00:00
Kconfig [ar71xx] wrt400n: lan ports don't need the ar8216 workaround 2010-03-26 19:09:11 +00:00
Makefile ar71xx: add dummy debugfs support for the ag71xx driver 2010-01-04 14:28:25 +00:00