diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2006-01-27 03:09:18 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-27 11:11:16 -0500 |
commit | f98e36f1f7903a319f7f87f96490e88f691ea106 (patch) | |
tree | cdad08d70b682bc36225a0a74cb5f49101bef6a3 /drivers/net/mv643xx_eth.h | |
parent | cf4086c7725dc251551243c28325d446d9b1bf06 (diff) |
[PATCH] mv643xx_eth: Rename mp->tx_ring_skbs to mp->tx_desc_count
tx_ring_skbs is actually a count of tx descriptors currently in use.
Since there may be multiple descriptors per skb, it is not the
same as the number of skbs in the ring.
Also change rx_ring_skbs to rx_desc_count to be consistent.
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/mv643xx_eth.h')
-rw-r--r-- | drivers/net/mv643xx_eth.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/mv643xx_eth.h b/drivers/net/mv643xx_eth.h index ef83906f88e4..345f970d122c 100644 --- a/drivers/net/mv643xx_eth.h +++ b/drivers/net/mv643xx_eth.h | |||
@@ -371,12 +371,12 @@ struct mv643xx_private { | |||
371 | spinlock_t lock; | 371 | spinlock_t lock; |
372 | /* Size of Tx Ring per queue */ | 372 | /* Size of Tx Ring per queue */ |
373 | unsigned int tx_ring_size; | 373 | unsigned int tx_ring_size; |
374 | /* Ammont of SKBs outstanding on Tx queue */ | 374 | /* Number of tx descriptors in use */ |
375 | unsigned int tx_ring_skbs; | 375 | unsigned int tx_desc_count; |
376 | /* Size of Rx Ring per queue */ | 376 | /* Size of Rx Ring per queue */ |
377 | unsigned int rx_ring_size; | 377 | unsigned int rx_ring_size; |
378 | /* Ammount of SKBs allocated to Rx Ring per queue */ | 378 | /* Number of rx descriptors in use */ |
379 | unsigned int rx_ring_skbs; | 379 | unsigned int rx_desc_count; |
380 | 380 | ||
381 | /* | 381 | /* |
382 | * rx_task used to fill RX ring out of bottom half context | 382 | * rx_task used to fill RX ring out of bottom half context |