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)
commitaeb59cc018a8b6ffe3d50e31f4c7420f4042a910
tree54186c62c68b8948acb074592c006aff3ec0b096
parent5aba142e9db3efb0edb8d6827f18aede36af053f
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