
Table 42. tsncapget
Parameter <argument>
Description
--device <ifname>
An interface such as swp0
8.1.1.4 Input tips
While providing the command input, you can use the following shortcut keys to make the input faster:
• When you input a command, use the TAB key to help list the related commands.
For example:
tsntool> qbv
Then press TAB key, to get all related
qbv*
start commands.
If there is only one choice, it is filled as the whole command automatically.
• When you input parameters, if you don’t remember the parameter name. You can just input “--” then press TAB key. It
displays all the parameters.
If you input half the parameter’s name, pressing the TAB key lists all the related names.
• History: press the up arrow “↑” . You will get the command history and can re-use the command.
8.1.1.5 Non-interactive mode
Tsntool also supports non-interactive mode.
For example:
In the interactive mode:
tsntool> qbuset --device eno0 --preemptable 0xfe
In non-interactive mode:
tsntool qbuset --device eno0 --preemptable 0xfe
8.1.2 Kernel configuration
Before compiling the Linux kernel, we need to configure it. In the kernel, select the configuration settings displayed below:
Symbol: TSN [=y]
[*] Networking support --->
Networking options --->
[*] 802.1 Time-Sensitive Networking support
Symbol: ENETC_TSN [=y] && FSL_ENETC_PTP_CLOCK [=y] && FSL_ENETC_HW_TIMESTAMPING [=y]
Device Drivers --->
[*] Network device support --->
[*] Ethernet driver support --->
[*] Freescale devices
<*> ENETC PF driver
<*> ENETC VF driver
-*- ENETC MDIO driver
<*> ENETC PTP clock driver
[*] ENETC hardware timestamping support
[*] TSN Support for NXP ENETC driver
NXP Semiconductors
TSN
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
105 / 199