diff options
author | Edward Cree <ecree@solarflare.com> | 2020-09-12 00:39:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-12 02:15:22 +0200 |
commit | 044588b9637277b0b15f295a814bdc282113f3c4 (patch) | |
tree | f6dd4f499ce92b8780a00e7026b1633b2f2e6ea3 /drivers/net/ethernet/sfc/selftest.c | |
parent | sfc: decouple TXQ type from label (diff) | |
download | linux-044588b9637277b0b15f295a814bdc282113f3c4.tar.xz linux-044588b9637277b0b15f295a814bdc282113f3c4.zip |
sfc: define inner/outer csum offload TXQ types
Nothing yet creates inner csum TXQs; just change all references to
EFX_TXQ_TYPE_OFFLOAD to the new EFX_TXQ_TYPE_OUTER_CSUM.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/selftest.c')
-rw-r--r-- | drivers/net/ethernet/sfc/selftest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/selftest.c b/drivers/net/ethernet/sfc/selftest.c index 3ec315a0d1bd..3c5227afd497 100644 --- a/drivers/net/ethernet/sfc/selftest.c +++ b/drivers/net/ethernet/sfc/selftest.c @@ -657,7 +657,7 @@ static int efx_test_loopbacks(struct efx_nic *efx, struct efx_self_tests *tests, /* Test all enabled types of TX queue */ efx_for_each_channel_tx_queue(tx_queue, channel) { state->offload_csum = (tx_queue->type & - EFX_TXQ_TYPE_OFFLOAD); + EFX_TXQ_TYPE_OUTER_CSUM); rc = efx_test_loopback(tx_queue, &tests->loopback[mode]); if (rc) |