diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-06-17 09:30:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-18 03:46:54 +0200 |
commit | bd1c6869f14f88aa82587ff51303e72dc7eec30e (patch) | |
tree | 73b0f1bb457cdf15065b77df847c9af68f49df60 /drivers/net/sky2.h | |
parent | sky2: reduce default transmit ring (diff) | |
download | linux-bd1c6869f14f88aa82587ff51303e72dc7eec30e.tar.xz linux-bd1c6869f14f88aa82587ff51303e72dc7eec30e.zip |
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.h | 1 |
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; |