mbox series

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

Message ID 20230905215338.4027793-1-vladimir.oltean@nxp.com (mailing list archive)
Headers show
Series tc-cbs offload fixes for SJA1105 DSA | expand

Message

Vladimir Oltean Sept. 5, 2023, 9:53 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 6, 2023, 5:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

On Wed,  6 Sep 2023 00:53:35 +0300 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net,1/3] net: dsa: sja1105: fix bandwidth discrepancy between tc-cbs software and offload
    https://git.kernel.org/netdev/net/c/954ad9bf13c4
  - [net,2/3] net: dsa: sja1105: fix -ENOSPC when replacing the same tc-cbs too many times
    https://git.kernel.org/netdev/net/c/894cafc5c62c
  - [net,3/3] net: dsa: sja1105: complete tc-cbs offload support on SJA1110
    https://git.kernel.org/netdev/net/c/180a7419fe4a

You are awesome, thank you!