ucc_geth: Add support for skb recycling
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 7 Jul 2009 08:38:42 +0000 (08:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2009 02:22:09 +0000 (19:22 -0700)
commit50f238fdf38e37f0350be17c36e3ec0fd298cc40
tree6fcc80fc88ca09a58b7b4d645b0b1c21641aadec
parentef0657c49e0f93dcebc9b4719e4fe0b478411f60
ucc_geth: Add support for skb recycling

We can reclaim transmitted skbs to use in the receive path, so-called
skb recycling support.

Also reorder ucc_geth_poll() steps, so that we'll clean tx ring firstly,
thus maybe reclaim some skbs for rx.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ucc_geth.c
drivers/net/ucc_geth.h