aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000.h
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2006-01-12 19:51:19 -0500
committerJeff Garzik <jgarzik@pobox.com>2006-01-17 07:48:03 -0500
commit72d64a436724da72f876c85a73895a622da6a673 (patch)
treec59dde1b1c116036dfd4400b35df002549e4c9ec /drivers/net/e1000/e1000.h
parent1e613fd9d64aba9945ddb3b7f1107127ee8a9835 (diff)
[PATCH] e1000: Added cleaned_count to RX buffer allocation
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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h
index d95a5f88181c..27c77306193b 100644
--- a/drivers/net/e1000/e1000.h
+++ b/drivers/net/e1000/e1000.h
@@ -304,14 +304,15 @@ struct e1000_adapter {
304 /* RX */ 304 /* RX */
305#ifdef CONFIG_E1000_NAPI 305#ifdef CONFIG_E1000_NAPI
306 boolean_t (*clean_rx) (struct e1000_adapter *adapter, 306 boolean_t (*clean_rx) (struct e1000_adapter *adapter,
307 struct e1000_rx_ring *rx_ring, 307 struct e1000_rx_ring *rx_ring,
308 int *work_done, int work_to_do); 308 int *work_done, int work_to_do);
309#else 309#else
310 boolean_t (*clean_rx) (struct e1000_adapter *adapter, 310 boolean_t (*clean_rx) (struct e1000_adapter *adapter,
311 struct e1000_rx_ring *rx_ring); 311 struct e1000_rx_ring *rx_ring);
312#endif 312#endif
313 void (*alloc_rx_buf) (struct e1000_adapter *adapter, 313 void (*alloc_rx_buf) (struct e1000_adapter *adapter,
314 struct e1000_rx_ring *rx_ring); 314 struct e1000_rx_ring *rx_ring,
315 int cleaned_count);
315 struct e1000_rx_ring *rx_ring; /* One per active queue */ 316 struct e1000_rx_ring *rx_ring; /* One per active queue */
316#ifdef CONFIG_E1000_NAPI 317#ifdef CONFIG_E1000_NAPI
317 struct net_device *polling_netdev; /* One per active queue */ 318 struct net_device *polling_netdev; /* One per active queue */