diff options
Diffstat (limited to 'drivers/net/sfc/selftest.c')
-rw-r--r-- | drivers/net/sfc/selftest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/selftest.c b/drivers/net/sfc/selftest.c index 3a16e0612267..371e86cc090f 100644 --- a/drivers/net/sfc/selftest.c +++ b/drivers/net/sfc/selftest.c | |||
@@ -618,8 +618,8 @@ static int efx_test_loopbacks(struct efx_nic *efx, struct efx_self_tests *tests, | |||
618 | 618 | ||
619 | /* Test both types of TX queue */ | 619 | /* Test both types of TX queue */ |
620 | efx_for_each_channel_tx_queue(tx_queue, &efx->channel[0]) { | 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) |