diff options
| author | 2022-09-08 19:48:14 +0300 | |
|---|---|---|
| committer | 2022-09-09 10:59:12 +0100 | |
| commit | be5c13f262050f90b56a4290645bf7a14055d3cd (patch) | |
| tree | 5188f63a92d301dcd27b9cd897621f83b367053b /include | |
| parent | net: mscc: ocelot: add support for all sorts of standardized counters present in DSA (diff) | |
| download | linux-dev-be5c13f262050f90b56a4290645bf7a14055d3cd.tar.xz linux-dev-be5c13f262050f90b56a4290645bf7a14055d3cd.zip | |
net: mscc: ocelot: harmonize names of SYS_COUNT_TX_AGING and OCELOT_STAT_TX_AGED
The hardware counter is called C_TX_AGED, so rename SYS_COUNT_TX_AGING
to SYS_COUNT_TX_AGED. This will become important since we want to
minimize the way in which we declare struct ocelot_stat_layout elements,
using the C preprocessor.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/soc/mscc/ocelot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soc/mscc/ocelot.h b/include/soc/mscc/ocelot.h index 050e142518e6..860ec592c689 100644 --- a/include/soc/mscc/ocelot.h +++ b/include/soc/mscc/ocelot.h @@ -392,7 +392,7 @@ enum ocelot_reg { SYS_COUNT_TX_GREEN_PRIO_5, SYS_COUNT_TX_GREEN_PRIO_6, SYS_COUNT_TX_GREEN_PRIO_7, - SYS_COUNT_TX_AGING, + SYS_COUNT_TX_AGED, SYS_COUNT_DROP_LOCAL, SYS_COUNT_DROP_TAIL, SYS_COUNT_DROP_YELLOW_PRIO_0, |
