ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in...
authorFelix Fietkau <nbd@openwrt.org>
Mon, 12 Aug 2013 17:26:00 +0000 (17:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 12 Aug 2013 17:26:00 +0000 (17:26 +0000)
commitf43b4ea962c7cccd74b04a60041f0a087cbe444d
tree57c64e24cc63574623c9c5b43f6bee003e202e12
parente5fd991c6c18e90804dd81c1789373abfc273c1c
ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in completion

Improves ethernet performance, especially during bridging

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37761
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c