
Chapter 8
TSN
Time Sensitive Networking (TSN) is an extension to traditional Ethernet networks, providing a set of standards compatible with
IEEE 802.1 and 802.3. These extensions are intended to address the limitations of standard Ethernet in sectors ranging from
industrial and automotive applications to live audio and video systems.Applications running over traditional Ethernet must be
designed very robust in order to withstand corner cases such as packet loss, delay or even reordering. TSN aims to provide
guarantees for deterministic latency and packet loss under congestion, allowing critical and non-critical traffic to be converged
in the same network.
This chapter describes the process and use cases for implementing TSN features on the LS1021ATSN and the LS1028ARDB
boards.
8.1 Using TSN features on LS1028ARDB
The tsntool is an application configuration tool to configure the TSN capability on LS1028ARDB. The files /usr/bin/tsntool
and /usr/lib/libtsn.so are located in the rootfs. Run tsntool to start the setting shell.
8.1.1 Tsntool User Manual
Tsntool is a tool to set the TSN capability of the Ethernet ports of TSN Endpoint and TSN switch. This document describes how
to use tsntool for NXP's LS1028ARDB hardware platform.
Currently the Tsntool supports only the LS1028ARDB platform. Other hardware platforms might be supported in
future.
NOTE
8.1.1.1 Getting the source code
Github of the tsntool code is:
https://github.com/openil/tsntool.git
8.1.1.2 Tsn tool commands
The following table lists the TSN tool commands and their description.
Table 22. TSN tool commands and their description
Command
Description
help
Lists commands support
version
Shows software version
verbose
Debugs on/off for tsntool
quit
Quits prompt mode
qbvset
Sets time gate scheduling config for <
ifname
>
qbvget
Gets time scheduling entries for
<ifname>
cbstreamidset
Sets stream identification table
Table continues on the next page...
NXP Semiconductors
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
96 / 199