]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71b3adc0388ac4b6d7505b124386df578b96fde2
tree6fcc80fc88ca09a58b7b4d645b0b1c21641aadec
parent85da24ac6558804eaf53569222d4e40e879e52f7
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