Dear Sir,
I'm trying to configure qbv configuration on swp0, swp1, swp2 port but not able to configure. Firstly i created bridge and add all the swp ports to it, and then did the following:
root@localhost:~/IEEE_802.1QBV/node_3# tc qdisc show dev swp0
qdisc noqueue 0: dev swp0 root refcnt 2
and similarly for swp1 and swp2.
then try to create queues
tc qdisc add dev swp0 root handle 1: mq
sleep 1.0
# add pfifo_fast to each queue under mq on swp0
tc qdisc add dev swp0 parent 1:8 pfifo_fast
tc qdisc add dev swp0 parent 1:7 pfifo_fast
tc qdisc add dev swp0 parent 1:6 pfifo_fast
tc qdisc add dev swp0 parent 1:5 pfifo_fast
tc qdisc add dev swp0 parent 1:4 pfifo_fast
tc qdisc add dev swp0 parent 1:3 pfifo_fast
tc qdisc add dev swp0 parent 1:2 pfifo_fast
tc qdisc add dev swp0 parent 1:1 pfifo_fast
getting the output:
root@localhost:~/IEEE_802.1QBV/Demo_Qbv# tc qdisc show dev swp0
qdisc mq 1: root
qdisc pfifo_fast 8001: parent 1:8 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 8005: parent 1:4 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 8003: parent 1:6 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 8007: parent 1:2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 8002: parent 1:7 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 8004: parent 1:5 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 8006: parent 1:3 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
qdisc pfifo_fast 8008: parent 1:1 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
after this if i want to configure qbv configuration i got error:
root@localhost:~/IEEE_802.1QBV/Demo_Qbv# sh qbv.sh
Error: Specified qdisc not found.
my qbv.sh file contain the following script:
root@localhost:~/IEEE_802.1QBV/Demo_Qbv# vim qbv.sh
#!/bin/bash
# Configuration A: Prioritize video (TC 0) over iperf (TC 2)
/sbin/tc qdisc replace dev swp2 parent root handle 100 taprio \
num_tc 5 \
map 0 1 2 3 4 \
queues 1@0 1@1 1@2 1@3 1@4 \
base-time 0 \
sched-entry S 0x01 700000 \
sched-entry S 0x04 300000 \
Could you please help me out with this issue. How can apply qbv configuration to this.
Best Regards,
Shikha
Also Checked Support for Felix Switch (DSA) i got the following output:
root@localhost:~# zcat /proc/config.gz | grep MSCC_FELIX_SWITCH_TSN
# CONFIG_MSCC_FELIX_SWITCH_TSN is not set
I tried to set it 'Y' but not able to do this.
In the default Kernel image, SCC_FELIX_SWITCH_TSN Linux Kernel option is not enabled, it is needed to rebuild Linux Kernel with this option enabled. I rebuilt Linux Kernel boot partition with SCC_FELIX_SWITCH_TSN enabled, please download it with the following link, and deploy it to SD card with flex-installer script.