]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/lib.sh
Increase txqueue length (qdisc) to avoid ENOBUFS errors
[can-benchmark.git] / gw-tests / lib.sh
index 2312d435fb3626920cf24be33bc39aa69ecedee5..f38458744cd2ff7508d80ad7e2b3a0b8ff993915 100644 (file)
@@ -114,6 +114,8 @@ _run() {
            sshgw 'chrt -p -f 50 `pidof irq/146-can1` > /dev/null || :'
            sshgw 'chrt -p -f 49 `pidof sirq-net-rx/0` > /dev/null || :'
            sshgw 'chrt -p -f 49 `pidof sirq-net-tx/0` > /dev/null || :'
+           # Set the length of qdisc queue to avoid ENOBUFS errors
+           ifconfig can0 txqueuelen 200
            cleanupgw
 
            main