]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c129220610df146ed3adeb45a2ab77995b67ec5
tree56f20c5ca89d900c22adc86619a10070f33eed20
parent27a4b737c19acb71d30cd83bfe015d1235870d3d
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