ramips: raeth: add tx_info structure
authorGabor Juhos <juhosg@openwrt.org>
Sun, 26 Feb 2012 10:54:10 +0000 (10:54 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 26 Feb 2012 10:54:10 +0000 (10:54 +0000)
commit9f2f9563610c268c54cf3ff053055315b59dcf32
treefaecf75d34034eb5f16fd2256f711485047caf06
parentd05ecc9cc8a888f762a4fa4441c2b639cf07b96a
ramips: raeth: add tx_info structure

This helps to reduce code size on TX path:

add/remove: 0/0 grow/shrink: 1/4 up/down: 56/-92 (-36)
function                                     old     new   delta
ramips_eth_open                             1048    1104     +56
ramips_eth_tx_housekeeping                   156     148      -8
ramips_ring_free                             224     212     -12
ramips_eth_stop                              420     400     -20
ramips_eth_hard_start_xmit                   480     428     -52

SVN-Revision: 30731
target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_eth.h
target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c