diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2021-05-08 14:36:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-10 14:29:18 -0700 |
commit | a53935674563f60d8e22ca88ab607dac89fb353d (patch) | |
tree | c9864c109332a00bff1d966780d65931a2b73c3a /drivers/net/ethernet/qualcomm/qca_spi.h | |
parent | 6e03f3ff29c1b479cd10cab0d1c4530bafad601c (diff) | |
download | lwn-a53935674563f60d8e22ca88ab607dac89fb353d.tar.gz lwn-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_spi.h')
-rw-r--r-- | drivers/net/ethernet/qualcomm/qca_spi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qualcomm/qca_spi.h b/drivers/net/ethernet/qualcomm/qca_spi.h index d13a67e20d65..3067356106f0 100644 --- a/drivers/net/ethernet/qualcomm/qca_spi.h +++ b/drivers/net/ethernet/qualcomm/qca_spi.h @@ -75,6 +75,7 @@ struct qcaspi_stats { u64 spi_err; u64 write_verify_failed; u64 buf_avail_err; + u64 bad_signature; }; struct qcaspi { |