summaryrefslogtreecommitdiff
path: root/drivers/net/sfc/selftest.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sfc/selftest.h')
-rw-r--r--drivers/net/sfc/selftest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/selftest.h b/drivers/net/sfc/selftest.h
index f6999c2..cd59f00 100644
--- a/drivers/net/sfc/selftest.h
+++ b/drivers/net/sfc/selftest.h
@@ -18,8 +18,8 @@
*/
struct efx_loopback_self_tests {
- int tx_sent[EFX_MAX_TX_QUEUES];
- int tx_done[EFX_MAX_TX_QUEUES];
+ int tx_sent[EFX_TX_QUEUE_COUNT];
+ int tx_done[EFX_TX_QUEUE_COUNT];
int rx_good;
int rx_bad;
};