mbox series

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

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

Message

Kurt Kanzenbach Jan. 16, 2021, 12:49 p.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.

Previous attempts:

 * https://lkml.kernel.org/netdev/20201121115703.23221-1-kurt@linutronix.de/

Changes since v1:

 * Use taprio data structure
 * Calculate base_time if in past
 * Validate input parameters
 * Minor things

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

 drivers/net/dsa/hirschmann/hellcreek.c | 298 ++++++++++++++++++++++++-
 drivers/net/dsa/hirschmann/hellcreek.h |  11 +-
 2 files changed, 307 insertions(+), 2 deletions(-)