[PATCH net 0/3] tc-cbs offload fixes for SJA1105 DSA

From: Vladimir Oltean
Date: Tue Sep 05 2023 - 17:54:13 EST


Yanan Yang has pointed out to me that certain tc-cbs offloaded
configurations do not appear to do any shaping on the LS1021A-TSN board
(SJA1105T).

This is due to an apparent documentation error that also made its way
into the driver, which patch 1/3 now fixes.

While investigating and then testing, I've found 2 more bugs, which are
patches 2/3 and 3/3.

Vladimir Oltean (3):
net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software
and offload
net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many
times
net: dsa: sja1105: complete tc-cbs offload support on SJA1110

drivers/net/dsa/sja1105/sja1105.h | 2 +
drivers/net/dsa/sja1105/sja1105_main.c | 51 +++++++++++++++++++++++---
drivers/net/dsa/sja1105/sja1105_spi.c | 4 ++
3 files changed, 51 insertions(+), 6 deletions(-)

--
2.34.1