
Table 22. TSN tool commands and their description (continued)
Command
Description
qcicapget
Gets qci instance's max capability
tsncapget
Gets device's tsn capability
8.1.1.3 Tsntool commands and parameters
This section lists the tsntool commands along with the parameters and arguments, with which they can be used.
Table 23. qbvset
Parameter <argument>
Description
--device <ifname>
An interface such as
eno0/swp0
--entryfile <filename>
A file script to input gatelist format. It has the following arguments:
#'NUMBER' 'GATE_VALUE' 'TIME_LONG'
• NUMBER: # 't' or 'T' head. Plus entry number. Duplicate entry number will result in an error.
• GATE_VALUE: # format: xxxxxxxxb . # The MSB corresponds to traffic class 7. The LSB
corresponds to traffic class 0. # A bit value of 0 indicates closed, whereas, a bit value of 1
indicates open.
• TIME_LONG: # nanoseconds. Do not input 0 time long. t0 11101111b 10000 t1
11011111b 10000
Entryfile
parameter must be set. If not set, there will be a vi text editor
prompt, "
require to input the gate list
".
NOTE
--basetime <value>
AdminBaseTime
A 64-bit hex value means nano second until now.
OR a value input format as:
Seconds.decimalSecond
Example:
115.000125
means 115seconds and 125us.
--cycletime <value>
AdminCycleTime
--cycleextend <value>
AdminCycleTimeExtension
--enable | --disable
• enable: enables the
qbv
for this port
• disable: disables the
qbv
for this port
Default is set to enable, if no enable or disable input
--maxsdu <value>
queueMaxSDU
--initgate <value>
AdminGateStates
--configchange
ConfigChange. Default set to 1.
--configchangetime <value>
ConfigChangeTime
NXP Semiconductors
TSN
Open Industrial User Guide, Rev. 1.8, 05/2020
User's Guide
98 / 199