summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/selftest.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-09-12 00:39:14 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-12 02:15:22 +0200
commit044588b9637277b0b15f295a814bdc282113f3c4 (patch)
treef6dd4f499ce92b8780a00e7026b1633b2f2e6ea3 /drivers/net/ethernet/sfc/selftest.c
parentsfc: decouple TXQ type from label (diff)
downloadlinux-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.c2
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)