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:39 -0500
committerJeff Garzik <jgarzik@pobox.com>2006-01-17 07:40:11 -0500
commitf56799ea39a85a6f3760a134aa0e6d1c17eea369 (patch)
tree5d7ed643eb04aed2a7d5c129dd997e1f7d3cf76c /drivers/net/e1000/e1000.h
parentd8c2bd3d3aa49e18ffebb999979b976f04280284 (diff)
[PATCH] e1000: Fix adapter structure and prepare for multique fix
Fix adapter structure to handle multiple queues and prepping the driver for full multiple queue support, some changes are ifdef'd our unless you define CONFIG_E1000_MQ. 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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h
index 4dd1326dd04f..5940f7a223bc 100644
--- a/drivers/net/e1000/e1000.h
+++ b/drivers/net/e1000/e1000.h
@@ -268,6 +268,7 @@ struct e1000_adapter {
268#ifdef CONFIG_E1000_MQ 268#ifdef CONFIG_E1000_MQ
269 struct e1000_tx_ring **cpu_tx_ring; /* per-cpu */ 269 struct e1000_tx_ring **cpu_tx_ring; /* per-cpu */
270#endif 270#endif
271 unsigned long tx_queue_len;
271 uint32_t txd_cmd; 272 uint32_t txd_cmd;
272 uint32_t tx_int_delay; 273 uint32_t tx_int_delay;
273 uint32_t tx_abs_int_delay; 274 uint32_t tx_abs_int_delay;
@@ -303,7 +304,8 @@ struct e1000_adapter {
303 struct call_async_data_struct rx_sched_call_data; 304 struct call_async_data_struct rx_sched_call_data;
304 int cpu_for_queue[4]; 305 int cpu_for_queue[4];
305#endif 306#endif
306 int num_queues; 307 int num_tx_queues;
308 int num_rx_queues;
307 309
308 uint64_t hw_csum_err; 310 uint64_t hw_csum_err;
309 uint64_t hw_csum_good; 311 uint64_t hw_csum_good;
@@ -336,6 +338,7 @@ struct e1000_adapter {
336 struct e1000_rx_ring test_rx_ring; 338 struct e1000_rx_ring test_rx_ring;
337 339
338 340
341 u32 *config_space;
339 int msg_enable; 342 int msg_enable;
340#ifdef CONFIG_PCI_MSI 343#ifdef CONFIG_PCI_MSI
341 boolean_t have_msi; 344 boolean_t have_msi;