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)
commitd2cd4c0438fde7b9bb8a8b2b9db06f7fd81562b8
tree2d4c9573340ebf27cfed5cb81e0a372adebe1613
parent1b4b10717041fedf91412460a68272c664b7f8cf
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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30732 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_eth.h
target/linux/ramips/files/drivers/net/ethernet/ramips/ramips_main.c