netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/1] net: dsa: hellcreek: Add TAPRIO offloading
@ 2020-11-21 11:57 Kurt Kanzenbach
  2020-11-21 11:57 ` [PATCH net-next 1/1] net: dsa: hellcreek: Add TAPRIO offloading support Kurt Kanzenbach
  0 siblings, 1 reply; 4+ messages in thread
From: Kurt Kanzenbach @ 2020-11-21 11:57 UTC (permalink / raw)
  To: Andrew Lunn, Vivien Didelot, Florian Fainelli, Vladimir Oltean
  Cc: David S. Miller, Jakub Kicinski, Vinicius Costa Gomes, netdev,
	Kurt Kanzenbach

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(+)

-- 
2.20.1


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

end of thread, other threads:[~2020-11-24  7:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-21 11:57 [PATCH net-next 0/1] net: dsa: hellcreek: Add TAPRIO offloading Kurt Kanzenbach
2020-11-21 11:57 ` [PATCH net-next 1/1] net: dsa: hellcreek: Add TAPRIO offloading support Kurt Kanzenbach
2020-11-22 23:08   ` Vladimir Oltean
2020-11-24  7:19     ` Kurt Kanzenbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).