Hi
I'm using LS1028ARDB and I tested tsntool on LS1028ardb.
I didn't build or configure linux, I just installed LSDK 21.08 using flex-installer.
I connected two NVIDIA jetson agx xavier boards to the swp0, swp1 port to test tsn on LS1028ardb. (xavier 1-swp0 , xavier 2-swp1) And xavier 1 send packets to xavier 2.
I configured switch through the command below.
INTERFACES="swp0 swp1 swp2 swp3"
ip link set eno2 up
ip link add name br0 type bridge
for if in $INTERFACES;
do
ip link set dev $if master br0
ip link set $if up
done
ip link set br0 up
bridge link show
5: swp0@eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br0 state forwarding priority 32 cost 4
6: swp1@eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 master br0 state forwarding priority 32 cost 4
7: swp2@eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 master br0 state disabled priority 32 cost 100
8: swp3@eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 master br0 state disabled priority 32 cost 100
10: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 master virbr0 state disabled priority 32 cost 100
And I tested qbvset using tsntool command referring to qbv test . But it doesn't work.
tsntool> qbvset --device swp1 --entryfile qbv0.txt
echo reply:swp1
echo reply:-19
The same goes for qbvget.
tsntool> qbvget --device swp1
echo reply:swp1
echo reply:-19
But it works to 'eno2' port. If I set the address 192.168.1.2 in br0 interface and ping 192.168.1.2 in xavier 1, the packet is not sent. (qbv0.txt "t0 00000000b 20000")
Why doesn't qbvset and qbvget work on the swpX port?
Is this a problem with tsntool? Or is it because the kernel was not built by setting up the TSN-related configuration?