net: stmmac: Report taprio offload status
authorRohan G Thomas <rohan.g.thomas@intel.com>
Sat, 27 Jan 2024 04:04:43 +0000 (12:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jan 2024 12:24:06 +0000 (12:24 +0000)
commit5ca63ffdb94ba2bac4c23c8609aabd7edd03c312
tree4aeef8efa90f8a4cefd402f885b3ba568a18d06b
parentfd5a6a71313e27c4f601526081b69d4e76f03dea
net: stmmac: Report taprio offload status

Report taprio offload status. This includes per txq and global
counters of window_drops and tx_overruns.

Window_drops count include count of frames dropped because of
queueMaxSDU setting and HLBF error. Transmission overrun counter
inform the user application whether any packets are currently being
transmitted on a particular queue during a gate-close event.DWMAC IPs
takes care Transmission overrun won't happen hence this is always 0.

Signed-off-by: Rohan G Thomas <rohan.g.thomas@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c