ramips: raeth: add rx_info structure
authorGabor Juhos <juhosg@openwrt.org>
Sun, 26 Feb 2012 10:54:12 +0000 (10:54 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 26 Feb 2012 10:54:12 +0000 (10:54 +0000)
commitf16cd62c42801cbe26fe8e5fb3b6430570b23745
tree2d4c9573340ebf27cfed5cb81e0a372adebe1613
parent9f2f9563610c268c54cf3ff053055315b59dcf32
ramips: raeth: add rx_info structure

This helps to reduce code size on RX path:

add/remove: 0/0 grow/shrink: 3/1 up/down: 68/-56 (12)
function                                     old     new   delta
ramips_eth_open                             1104    1144     +40
ramips_ring_free                             212     232     +20
ramips_eth_stop                              400     408      +8
ramips_eth_rx_hw                             648     592     -56

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