Score:0

Error in changing traffic classification of CAKE in OpenWrt

za flag

I am currently using OpenWrt (version: 19.07.7) on Virtual Box (version: 6.1).
As also having a Linux machine that I use, in order, to ssh into OpenWrt and route synthetic traffic to it.
And trying to change the traffic classification of the CAKE algorithm on OpenWrt using tc filter replace scripts.
Specifically, I have a loop of 10 iterations and, in each iteration, and commit a different mapping of ToS byte values to CAKE's priority classes (called TINs). For example, I use the following script to map.

ToS = 0x00 to TIN 8 (I have 256 scripts for ToS = 0x00 to 0xFF):

tc filter replace dev eth1 parent 1: protocol all u32 match ip tos 0x00 0xff action skbedit priority 1:8

However, I can only commit these scripts for 8 iterations and thereafter, I got the following error:

RTNETLINK answers: Invalid argument
We have an error talking to the kernel

I wondered why this is happening after 8 iterations and if there are any solutions to avoid this error. Thanks.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.