aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/firewall
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-12-17 16:27:46 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-12-17 16:27:46 +0000
commit4386cc527ad879a8ef4ff8a68060f2ad3985d832 (patch)
treec8a3cbb21477d263f9e0123037153ba397e7a7b4 /package/network/config/firewall
parentde63c5e8abaeff7f154173547d9e9283d2ca2cee (diff)
downloadupstream-4386cc527ad879a8ef4ff8a68060f2ad3985d832.tar.gz
upstream-4386cc527ad879a8ef4ff8a68060f2ad3985d832.tar.bz2
upstream-4386cc527ad879a8ef4ff8a68060f2ad3985d832.zip
ar71xx: ag71xx: compute the RX buffer size from the maximum frame size
Currently, the AG71XX_RX_PKT_SIZE value limits the received frame size to 1514/1516 bytes with/without a VLAN header respectively. However the hardware limit is controlled by the value the AG71XX_REG_MAC_MFL register which contains the value of the max_frame_len field. Compute the RX buffer size from the max_frame_len field to get rid of the 1514/1516 byte limitation. Also remove the unused AG71XX_RX_PKT_SIZE definition. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39121 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/config/firewall')
0 files changed, 0 insertions, 0 deletions