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)
commit32e7b1c7d96090f666e8bd633a4a9d5f23d429e5
treece9b0ec4feda4a4ad9663e837a57279eca806ca4
parent548155ab7dab89ccd61a5f035a6add247768ad0a
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