pastebin - collaborative debugging tool
rovema.kpaste.net RSS


SO_TXTIME: Fix for tc failure with "RTNETLINK answers: Invalid argument"
Posted by Anonymous on Mon 25th Oct 2021 13:31
raw | new post

  1. # diff -u config-etf.sh.orig config-etf.sh
  2. --- config-etf.sh.orig  2021-10-25 11:25:06.923388834 +0200
  3. +++ config-etf.sh       2021-10-25 14:26:05.706111879 +0200
  4. @@ -25,7 +25,11 @@
  5.        offload delta 300000 clockid CLOCK_TAI
  6.  
  7.  qdisc replace dev $IFACE parent 100:2 etf clockid CLOCK_TAI \\
  8. -      delta 300000 offload deadline_mode
  9. +      delta 300000 offload
  10.  EOF
  11.  
  12. +# Use ethtool to force allocate four queues, this prevents "RTNETLINK
  13. +# answers: Invalid argument" when setting up the mqprio qdisc with tc
  14. +ethtool --set-channels $IFACE combined 4
  15. +
  16.  tc -batch $BATCH_FILE

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at