diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-07-08 15:11:40 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-11 01:20:32 -0400 |
commit | bf36c1a0040cc6ccd63cdd1cec25d2085f2df964 (patch) | |
tree | bc23a159e39a8f99ae7359484cadd77237e5828f /drivers/net/igb/igb.h | |
parent | 7dfc16fab1186769d7d0086830ab3fbc8fddfcba (diff) | |
download | op-kernel-dev-bf36c1a0040cc6ccd63cdd1cec25d2085f2df964.zip op-kernel-dev-bf36c1a0040cc6ccd63cdd1cec25d2085f2df964.tar.gz |
igb: add page recycling support
This patch adds support for page recycling by splitting the page into two
usable portions and tracking the reference count.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index ee08010..f41b999 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h @@ -125,6 +125,7 @@ struct igb_buffer { struct { struct page *page; u64 page_dma; + unsigned int page_offset; }; }; }; @@ -163,9 +164,6 @@ struct igb_ring { }; /* RX */ struct { - /* arrays of page information for packet split */ - struct sk_buff *pending_skb; - int pending_skb_page; int no_itr_adjust; struct igb_queue_stats rx_stats; struct napi_struct napi; |