net: stmmac: est: Per Tx-queue error count for HLBF
authorRohan G Thomas <rohan.g.thomas@intel.com>
Sat, 27 Jan 2024 04:04:42 +0000 (12:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jan 2024 12:24:06 +0000 (12:24 +0000)
commitfd5a6a71313e27c4f601526081b69d4e76f03dea
tree8bbe18b22ff3906e987d35efb10545aebd473f71
parentc5c3e1bfc9e0ee72af528df8d773980f4855938a
net: stmmac: est: Per Tx-queue error count for HLBF

Keep per Tx-queue error count on Head-Of-Line Blocking due to frame
size(HLBF) error. The MAC raises HLBF error on one or more queues
when none of the time Intervals of open-gates in the GCL is greater
than or equal to the duration needed for frame transmission and by
default drops those packets that causes HLBF error. EST_FRM_SZ_ERR
register provides the One Hot encoded Queue numbers that have the
Frame Size related error.

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/common.h
drivers/net/ethernet/stmicro/stmmac/stmmac_est.c