Hi, all
I want to use tc-mqprio to map packets of different priorities to a specified hardware queue, but the result is not as expected.
The setup is as follows:
sudo tc qdisc add dev eth0 root mqprio num_tc 4 map 0 0 1 1 2 2 3 3 queues 1@0 1@1 1@2 1@3 hw 0
For example, my original intention is to map the packets with priority 2 to tc1, and tc1 to the second hardware queue.
But in fact, packets with priority 2 were mapped to the third hardware queue. I feel that the default mapping was executed, and the setting of mqprio did not take effect.
Both tc-mqprio and tc-taprio require the mapping function from priority to hardware queue. I don’t know whether orin supports it.
orin devkit
nvidia@tegra-ubuntu:~$ uname -a
Linux tegra-ubuntu 5.10.104-tegra #4 SMP PREEMPT Thu Dec 19 14:59:06 CST 2024 aarch64 aarch64 aarch64 GNU/Linux