summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qualcomm/qca_debug.c
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2021-05-08 14:36:35 +0200
committerDavid S. Miller <davem@davemloft.net>2021-05-10 14:29:18 -0700
commita53935674563f60d8e22ca88ab607dac89fb353d (patch)
treec9864c109332a00bff1d966780d65931a2b73c3a /drivers/net/ethernet/qualcomm/qca_debug.c
parent6e03f3ff29c1b479cd10cab0d1c4530bafad601c (diff)
downloadlinux-a53935674563f60d8e22ca88ab607dac89fb353d.tar.gz
linux-a53935674563f60d8e22ca88ab607dac89fb353d.tar.bz2
linux-a53935674563f60d8e22ca88ab607dac89fb353d.zip
net: qca_spi: Introduce stat about bad signature
In order to identify significant signature issues add a new stat counter, which increases on bad signature values that causes a sync loss. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/qca_debug.c')
-rw-r--r--drivers/net/ethernet/qualcomm/qca_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qualcomm/qca_debug.c b/drivers/net/ethernet/qualcomm/qca_debug.c
index 702aa217a27a..d59fff2fbcc6 100644
--- a/drivers/net/ethernet/qualcomm/qca_debug.c
+++ b/drivers/net/ethernet/qualcomm/qca_debug.c
@@ -62,6 +62,7 @@ static const char qcaspi_gstrings_stats[][ETH_GSTRING_LEN] = {
"SPI errors",
"Write verify errors",
"Buffer available errors",
+ "Bad signature",
};
#ifdef CONFIG_DEBUG_FS