From: Stefan Chulski <redacted>
This patch doesn't change any functionality, but just extend
MIB counter register and ethtool-statistic names with "err".
The counter MVPP2_MIB_FRAGMENTS_RCVD in fact is Error counter.
Extend REG name and appropriated ethtool statistic reg-name
with the ERR/err.
Change-Id: Ic32b9779b90ba99789e83e85cfaddb5da9e7fda9
Signed-off-by: Stefan Chulski <redacted>
---
drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 2 +-
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
From: Andrew Lunn <andrew@lunn.ch> Date: 2021-01-14 15:45:50
On Thu, Jan 14, 2021 at 12:07:38PM +0200, stefanc@marvell.com wrote:
From: Stefan Chulski <redacted>
This patch doesn't change any functionality, but just extend
MIB counter register and ethtool-statistic names with "err".
The counter MVPP2_MIB_FRAGMENTS_RCVD in fact is Error counter.
Extend REG name and appropriated ethtool statistic reg-name
with the ERR/err.
From: Stefan Chulski <hidden> Date: 2021-01-14 16:16:45
quoted
From: Stefan Chulski <redacted>
This patch doesn't change any functionality, but just extend MIB
counter register and ethtool-statistic names with "err".
The counter MVPP2_MIB_FRAGMENTS_RCVD in fact is Error counter.
Extend REG name and appropriated ethtool statistic reg-name with the
ERR/err.
From: Jakub Kicinski <kuba@kernel.org> Date: 2021-01-14 17:47:10
On Thu, 14 Jan 2021 12:07:38 +0200 stefanc@marvell.com wrote:
From: Stefan Chulski <redacted>
This patch doesn't change any functionality, but just extend
MIB counter register and ethtool-statistic names with "err".
The counter MVPP2_MIB_FRAGMENTS_RCVD in fact is Error counter.
Extend REG name and appropriated ethtool statistic reg-name
with the ERR/err.
Change-Id: Ic32b9779b90ba99789e83e85cfaddb5da9e7fda9
Signed-off-by: Stefan Chulski <redacted>
Please strip the gerrit IDs from the upstream patches.
Checkpatch flags this as an error. Please always run
checkpatch --strict before submitting.
From: Jakub Kicinski <kuba@kernel.org> Date: 2021-01-14 17:50:10
On Thu, 14 Jan 2021 16:13:23 +0000 Stefan Chulski wrote:
quoted
quoted
From: Stefan Chulski <redacted>
This patch doesn't change any functionality, but just extend MIB
counter register and ethtool-statistic names with "err".
The counter MVPP2_MIB_FRAGMENTS_RCVD in fact is Error counter.
Extend REG name and appropriated ethtool statistic reg-name with the
ERR/err.
Hi Stefan
I suspect this is now ABI and you cannot change it. You at least need to argue
why it is not ABI.
Andrew
Hi Andrew,
I not familiar with ABI concept. Does this mean we cannot change, fix
or extend driver ethtool counters?
Extend yes, but some user may have a script tracking
"fragments_received", that script would break if you
rename it.
It'd be good if the hardware errors were reported in
standard netdev statistics.
From: Andrew Lunn <andrew@lunn.ch> Date: 2021-01-14 18:21:44
On Thu, Jan 14, 2021 at 04:13:23PM +0000, Stefan Chulski wrote:
quoted
quoted
From: Stefan Chulski <redacted>
This patch doesn't change any functionality, but just extend MIB
counter register and ethtool-statistic names with "err".
The counter MVPP2_MIB_FRAGMENTS_RCVD in fact is Error counter.
Extend REG name and appropriated ethtool statistic reg-name with the
ERR/err.
Hi Stefan
I suspect this is now ABI and you cannot change it. You at least need to argue
why it is not ABI.
Andrew
Hi Andrew,
I not familiar with ABI concept. Does this mean we cannot change, fix or extend driver ethtool counters?
As Jakub pointed out, there could be user space looking for this name.
What you could do is add fragments_err_received in addition to
fragments_received. That should not break anything.
Andrew