ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Aug 2013 17:26:00 +0000 (17:26 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 12 Aug 2013 17:26:00 +0000 (17:26 +0000)
commit63f7150fc3167cbf96d36454e44aed4863433f5e
tree54186c62c68b8948acb074592c006aff3ec0b096
parent7497c864c85b19638c99912089362e7fe2ad239f
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37761 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c