diff options
Diffstat (limited to 'drivers/net/sfc/selftest.c')
-rw-r--r-- | drivers/net/sfc/selftest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/sfc/selftest.c b/drivers/net/sfc/selftest.c index 0106b1d9aae2..371e86cc090f 100644 --- a/drivers/net/sfc/selftest.c +++ b/drivers/net/sfc/selftest.c | |||
@@ -616,10 +616,10 @@ static int efx_test_loopbacks(struct efx_nic *efx, struct efx_self_tests *tests, | |||
616 | goto out; | 616 | goto out; |
617 | } | 617 | } |
618 | 618 | ||
619 | /* Test every TX queue */ | 619 | /* Test both types of TX queue */ |
620 | efx_for_each_tx_queue(tx_queue, efx) { | 620 | efx_for_each_channel_tx_queue(tx_queue, &efx->channel[0]) { |
621 | state->offload_csum = (tx_queue->queue == | 621 | state->offload_csum = (tx_queue->queue & |
622 | EFX_TX_QUEUE_OFFLOAD_CSUM); | 622 | EFX_TXQ_TYPE_OFFLOAD); |
623 | rc = efx_test_loopback(tx_queue, | 623 | rc = efx_test_loopback(tx_queue, |
624 | &tests->loopback[mode]); | 624 | &tests->loopback[mode]); |
625 | if (rc) | 625 | if (rc) |