]> git.itanic.dy.fi Git - linux-stable/commit
net: enetc: report statistics counters for taprio
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 30 May 2023 09:19:48 +0000 (12:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 May 2023 09:00:30 +0000 (10:00 +0100)
commit4802fca8d1af9687a0fd71b729d96726f05192ad
tree0ee34e7ddb1ba0ec36d197af9c1716e02a442568
parent5353599aa74524acbf48c5e78683534f6bdd1ed3
net: enetc: report statistics counters for taprio

Report the "win_drop" counter from the unstructured ethtool -S as
TCA_TAPRIO_OFFLOAD_STATS_WINDOW_DROPS to the Qdisc layer. It is
available both as a global counter as well as a per-TC one.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_qos.c