mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 18:04:38 -04:00
mlxsw: reg: Rename MLXSW_REG_PPCNT_TC_CONG_TC to _CNT
The name does not make sense as it is. Clearly there is a typo and the suffix should have been _CNT, like the other enumerators. Fix accordingly. Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
b063e0651c
commit
fc372cc072
@@ -4951,7 +4951,7 @@ enum mlxsw_reg_ppcnt_grp {
|
||||
MLXSW_REG_PPCNT_DISCARD_CNT = 0x6,
|
||||
MLXSW_REG_PPCNT_PRIO_CNT = 0x10,
|
||||
MLXSW_REG_PPCNT_TC_CNT = 0x11,
|
||||
MLXSW_REG_PPCNT_TC_CONG_TC = 0x13,
|
||||
MLXSW_REG_PPCNT_TC_CONG_CNT = 0x13,
|
||||
};
|
||||
|
||||
/* reg_ppcnt_grp
|
||||
|
||||
@@ -824,7 +824,7 @@ mlxsw_sp_port_get_hw_xstats(struct net_device *dev,
|
||||
|
||||
for (i = 0; i < TC_MAX_QUEUE; i++) {
|
||||
err = mlxsw_sp_port_get_stats_raw(dev,
|
||||
MLXSW_REG_PPCNT_TC_CONG_TC,
|
||||
MLXSW_REG_PPCNT_TC_CONG_CNT,
|
||||
i, ppcnt_pl);
|
||||
if (!err)
|
||||
xstats->wred_drop[i] =
|
||||
|
||||
Reference in New Issue
Block a user