summaryrefslogtreecommitdiff
path: root/drivers/net/sky2.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-06-17 11:30:38 +0400
committerDavid S. Miller <davem@davemloft.net>2009-06-18 05:46:54 +0400
commitbd1c6869f14f88aa82587ff51303e72dc7eec30e (patch)
tree73b0f1bb457cdf15065b77df847c9af68f49df60 /drivers/net/sky2.h
parente9c1be80a7403fb817ec6229ec20a39e377cc4ce (diff)
downloadlinux-bd1c6869f14f88aa82587ff51303e72dc7eec30e.tar.xz
sky2: skb recycling
This patch implements skb recycling. It reclaims transmitted skb's for use in the receive ring. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sky2.h')
-rw-r--r--drivers/net/sky2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h
index 92fb24b27d45..b5549c9e5107 100644
--- a/drivers/net/sky2.h
+++ b/drivers/net/sky2.h
@@ -2028,6 +2028,7 @@ struct sky2_port {
u16 rx_pending;
u16 rx_data_size;
u16 rx_nfrags;
+ struct sk_buff_head rx_recycle;
#ifdef SKY2_VLAN_TAG_USED
u16 rx_tag;