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)
commit7fff30d5b92629253f4c4f42bab22d9d14b0edec
tree54186c62c68b8948acb074592c006aff3ec0b096
parentb10717fee91d46a3a441c67aceaae42b1b91caf4
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