mbox series

[net-next,0/1] net: dsa: hellcreek: Add TAPRIO offloading

Message ID 20201121115703.23221-1-kurt@linutronix.de
Headers show
Series net: dsa: hellcreek: Add TAPRIO offloading | expand

Message

Kurt Kanzenbach Nov. 21, 2020, 11:57 a.m. UTC
Hi,

The switch has support for the 802.1Qbv Time Aware Shaper (TAS). Traffic
schedules may be configured individually on each front port. Each port has eight
egress queues. The traffic is mapped to a traffic class respectively via the PCP
field of a VLAN tagged frame.

This is a respin of the original patch with the discovered issues fixed:

 * Drop TC <-> PCP mapping

  => This is handled in the TAPRIO core now.

 * Don't depend on the system's time synchronized to the PTP clock

  => Drop hrtimers and use periodic delayed work instead. Also drop the
     spinlocks as delayed work is executed in user context and mutexes can
     be used which makes everything much simpler.

Thanks,
Kurt

Kurt Kanzenbach (1):
  net: dsa: hellcreek: Add TAPRIO offloading support

 drivers/net/dsa/hirschmann/hellcreek.c | 314 +++++++++++++++++++++++++
 drivers/net/dsa/hirschmann/hellcreek.h |  22 ++
 2 files changed, 336 insertions(+)