public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/3] tc-cbs offload fixes for SJA1105 DSA
@ 2023-09-05 21:53 Vladimir Oltean
  2023-09-05 21:53 ` [PATCH net 1/3] net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload Vladimir Oltean
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Vladimir Oltean @ 2023-09-05 21:53 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Xiaoliang Yang, Andrew Lunn, Florian Fainelli, Yanan Yang,
	Vinicius Costa Gomes, linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-06  5:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05 21:53 [PATCH net 0/3] tc-cbs offload fixes for SJA1105 DSA Vladimir Oltean
2023-09-05 21:53 ` [PATCH net 1/3] net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload Vladimir Oltean
2023-09-05 21:53 ` [PATCH net 2/3] net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times Vladimir Oltean
2023-09-05 21:53 ` [PATCH net 3/3] net: dsa: sja1105: complete tc-cbs offload support on SJA1110 Vladimir Oltean
2023-09-06  5:30 ` [PATCH net 0/3] tc-cbs offload fixes for SJA1105 DSA patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox