aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000.h
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2006-01-12 19:50:25 -0500
committerJeff Garzik <jgarzik@pobox.com>2006-01-17 07:40:10 -0500
commit545c67c0a3550545fe50d28c874b0664bc5dc882 (patch)
treee0ffa97a1137bccbdd0574434bf481cb6e52a56d /drivers/net/e1000/e1000.h
parent9a3056da0d7fde1e19e806824c41857b239954ed (diff)
[PATCH] e1000: General Fixes
These fixes update the TX and RX ring structures. Prepare driver for up-coming fixes. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/e1000/e1000.h')
-rw-r--r--drivers/net/e1000/e1000.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h
index e02e9ba2e18b..c87187d3e595 100644
--- a/drivers/net/e1000/e1000.h
+++ b/drivers/net/e1000/e1000.h
@@ -191,7 +191,6 @@ struct e1000_tx_ring {
191 spinlock_t tx_lock; 191 spinlock_t tx_lock;
192 uint16_t tdh; 192 uint16_t tdh;
193 uint16_t tdt; 193 uint16_t tdt;
194 uint64_t pkt;
195 194
196 boolean_t last_tx_tso; 195 boolean_t last_tx_tso;
197 196
@@ -216,9 +215,14 @@ struct e1000_rx_ring {
216 struct e1000_ps_page *ps_page; 215 struct e1000_ps_page *ps_page;
217 struct e1000_ps_page_dma *ps_page_dma; 216 struct e1000_ps_page_dma *ps_page_dma;
218 217
218 struct sk_buff *rx_skb_top;
219 struct sk_buff *rx_skb_prev;
220
221 /* cpu for rx queue */
222 int cpu;
223
219 uint16_t rdh; 224 uint16_t rdh;
220 uint16_t rdt; 225 uint16_t rdt;
221 uint64_t pkt;
222}; 226};
223 227
224#define E1000_DESC_UNUSED(R) \ 228#define E1000_DESC_UNUSED(R) \