Time-Sensitive Networking (TSN) with Mainline Embedded Linux - Marcel Ziswiler, Toradex AG
Channel: The Linux Foundation
Date: 2022-12-14

Time-Sensitive Networking (TSN) with Mainline Embedded Linux - Marcel Ziswiler, Toradex AG

Time-sensitive Networking (TSN) is a set of standards that aim to address resource availability for providing bandwidth reservation and bounded latency on Ethernet-based LANs. This talk introduces the TSN features like Credit-Based Shaper (CBS) offload via Traffic Control subsystem, scheduled packet transmission aka earliest txtime first (ETF) and time-aware priority scheduler aka taprio qdiscs. It outlines the further mainline TSN ecosystem beyond the Linux kernel including Linux PTP supporting the generalized precision time protocol and ALSA and GStreamer with their Audio/Video Transport Protocol (AVTP) plugins based on libavtp. The second part looks at two concrete Embedded Linux boards with TSN capable networking hardware. The first one based on the predominant Intel i210 Ethernet controller (igb driver) and the second one with Synopsys DesignWare Ethernet Quality-of-Service (EQoS) controller IP integrated into NXP i.MX 8M Plus SoC (stmmac driver). Various TSN scenarios like time synchronisation and Audio/Video Bridging (AVB) talker/listener use-cases are benchmarked. This presentation will conclude with a live demonstration. A similar presentation was held at the Embedded World Conference in Nuremberg in June. This talk puts emphasis on fully upstream mainline technology.