diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-04-28 05:30:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-28 15:44:43 -0400 |
commit | 5298c37f4d1f0360082be9d9e3a236b9cc114a03 (patch) | |
tree | 0daf2443eb11baf1f0d2cb927413bb03f9061b04 /drivers/net/sfc/ethtool.c | |
parent | affaf485ca628cb7d7f57ae5e2b8c710c58b11aa (diff) |
sfc: Test only the first pair of TX queues
This makes no immediate difference, but we definitely do not want
to test all TX queues once we allocate a pair of TX queues to each
channel.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r-- | drivers/net/sfc/ethtool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index d9f9c02a928e..cbe9319f8322 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c | |||
@@ -304,7 +304,7 @@ static int efx_fill_loopback_test(struct efx_nic *efx, | |||
304 | { | 304 | { |
305 | struct efx_tx_queue *tx_queue; | 305 | struct efx_tx_queue *tx_queue; |
306 | 306 | ||
307 | efx_for_each_tx_queue(tx_queue, efx) { | 307 | efx_for_each_channel_tx_queue(tx_queue, &efx->channel[0]) { |
308 | efx_fill_test(test_index++, strings, data, | 308 | efx_fill_test(test_index++, strings, data, |
309 | &lb_tests->tx_sent[tx_queue->queue], | 309 | &lb_tests->tx_sent[tx_queue->queue], |
310 | EFX_TX_QUEUE_NAME(tx_queue), | 310 | EFX_TX_QUEUE_NAME(tx_queue), |