Unable to change value of Per TX Queue rate limitation

echo 5 > /sys/class/net/ens2f1/queues/tx-0/tx_maxrate
ash: write error: Not supported

Anyone? I don't understand why it wouldn't accept a change.

Maybe it is a read-only attribute? For what it is worth in Ubuntu 20 LTS I get:

user@linux:~$ sudo echo 5 >  /sys/class/net/eth0/queues/tx-0/tx_maxrate
-bash: /sys/class/net/eth0/queues/tx-0/tx_maxrate: Permission denied

Strange considering all the documents I’ve read express it as a toggle.