P4-TAS: P4-Based Time-Aware Shaper for Time-Sensitive Networking
Fabian Ihle, Moritz Fl\"uchter, Michael Menth

TL;DR
This paper introduces P4-TAS, a novel P4-based implementation of the time-aware shaper for TSN on Intel Tofino 2 switches, enhancing scheduling precision and transparency of internal delays.
Contribution
It presents the first P4-programmable TAS implementation, quantifies internal delays, and proposes a measurement methodology for TAS accuracy.
Findings
Achieved a worst-case internal delay of 86 ns, below commercial switch values.
Enabled line-rate TSN shaping at 400 Gb/s per port.
Developed a new mechanism for precise, time-triggered queue control.
Abstract
Time-sensitive networking (TSN) is a set of IEEE standards that extends Ethernet with real-time capabilities. Among its mechanisms, the time-aware shaper (TAS) periodically opens and closes egress queues to protect scheduled traffic from lower-priority flows, ensuring low latency and bounded delay. Deterministic networking (DetNet), standardized by the IETF, provides similar guarantees at Layer 3 and can leverage TSN mechanisms such as the TAS. Commercially available TSN-capable switches implement TAS in hardware but rarely disclose internal delays in the TAS mechanism itself. Such delays directly affect scheduling precision, yet information about them is largely unavailable to system designers. In this work, we present P4-TAS, a P4-based implementation of the TAS on the Intel Tofino 2 switching ASIC that additionally supports per-stream filtering and policing (PSFP) and PTP time…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
