mlxsw: reg: Add ecn_marked_tc to Per-TC Congestion Counters
authorPetr Machata <petrm@nvidia.com>
Wed, 13 Oct 2021 10:37:46 +0000 (13:37 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Oct 2021 00:47:18 +0000 (17:47 -0700)
commit6242b0a96302a0d5117ef47dfc4a335d709e9c57
tree56f20c5ca89d900c22adc86619a10070f33eed20
parentfc372cc072861e0027a950d896fc5f6912bb0acd
mlxsw: reg: Add ecn_marked_tc to Per-TC Congestion Counters

The PPCNT register retrieves per port performance counters. The
ecn_marked_tc field in per-TC Congestion counter group contains a count of
packets marked as ECN or potentially marked as ECN.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/reg.h