aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth.h
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-07-07 04:38:42 -0400
committerDavid S. Miller <davem@davemloft.net>2009-07-07 22:22:09 -0400
commit50f238fdf38e37f0350be17c36e3ec0fd298cc40 (patch)
tree6fcc80fc88ca09a58b7b4d645b0b1c21641aadec /drivers/net/ucc_geth.h
parentef0657c49e0f93dcebc9b4719e4fe0b478411f60 (diff)
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>
Diffstat (limited to 'drivers/net/ucc_geth.h')
-rw-r--r--drivers/net/ucc_geth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ucc_geth.h b/drivers/net/ucc_geth.h
index 195ab267ead7..cfb31afc08a9 100644
--- a/drivers/net/ucc_geth.h
+++ b/drivers/net/ucc_geth.h
@@ -1212,6 +1212,8 @@ struct ucc_geth_private {
1212 /* index of the first skb which hasn't been transmitted yet. */ 1212 /* index of the first skb which hasn't been transmitted yet. */
1213 u16 skb_dirtytx[NUM_TX_QUEUES]; 1213 u16 skb_dirtytx[NUM_TX_QUEUES];
1214 1214
1215 struct sk_buff_head rx_recycle;
1216
1215 struct ugeth_mii_info *mii_info; 1217 struct ugeth_mii_info *mii_info;
1216 struct phy_device *phydev; 1218 struct phy_device *phydev;
1217 phy_interface_t phy_interface; 1219 phy_interface_t phy_interface;