Commit Graph

35 Commits

Author SHA1 Message Date
hk 82c4e8e47c Change to per-interface post-commands
This is needed on systems where tc-gen is ran multiple times on
different interfaces to not reapply the post-commands every time.
2018-02-03 22:40:45 +01:00
hk 11a68ee0c4 Fix bug in custom prio class config parser
If the ceil was left unset and prio was defined, like "100:20M::3"
the prio was used as the ceil.
2018-02-03 22:11:47 +01:00
hk 7fe32de1ca Add post commands support
To ease and centralize additional tc rules a default post-command
file in /etc/tc-gen/post-commands has been introduced. The location
may be overridden with -p.
2018-02-03 01:31:05 +01:00
hk 100b441853 Minor visual refactor 2018-02-02 23:03:56 +01:00
hk 8ed4fbaea4 Refactor shaping code to minimize duplication 2018-02-02 22:27:47 +01:00
hk 7d391d3be6 Bump version 2018-02-01 01:28:58 +01:00
hk 2d048b5639 Fix syntax error in help 2018-02-01 01:28:16 +01:00
hk 0eb3e34ea0 Add prio class support to IFB interface using -C 2018-02-01 01:26:42 +01:00
hk 4ae592d477 Move prio classes to function 2018-02-01 01:09:16 +01:00
hk dc515aea3f Rename tc-gen.sh to tc-gen 2017-10-23 18:42:49 +02:00
hk 06eaebfb28 Bump version 2017-10-11 22:06:23 +02:00
hk b61bbd9171 Use command instead of which to auto locate executables 2017-10-11 22:05:58 +02:00
hk e57574b0b7 Write errors to stderr instead of stdout 2017-10-11 22:03:18 +02:00
hk 66947d158c Do not fail on ethtool errors 2017-02-01 11:47:17 +01:00
hk e0b1e77bac Bump version to 1.1.4 2017-02-01 00:00:22 +01:00
hk 6de334210b Disable gro for low bandwiths on ingress shaping 2017-01-31 23:59:59 +01:00
hk c7f448c972 Bump version to 1.1.3 2017-01-31 17:10:23 +01:00
hk b87152688c Bump version to 1.1.2 2017-01-31 17:09:10 +01:00
hk c135e2131d Add support for kbit/s rates 2017-01-31 17:08:50 +01:00
hk 905d62e4a6 Set quantum on htb root parent dev 2017-01-27 10:40:19 +01:00
hk a8d3bdfd1c Bump version to 1.1.1 2017-01-27 09:42:16 +01:00
hk 6e4a6f639e Make disabling of tso and gso bandwith dependant 2017-01-27 09:41:49 +01:00
hk d751745554 print usage for all invalid options 2017-01-24 09:09:12 +01:00
hk 5cc975e16a Change get_ecn to better reflect the actual value ending up in the script 2017-01-13 21:41:36 +01:00
hk 423d3b2401 Add -V argument to print version 2017-01-13 08:57:52 +01:00
hk 46a4125980 Enable ECN for egress if class bandwith is larger than 3 Mbit/s 2017-01-13 08:32:09 +01:00
hkbakke bf64a15ea5 Create LICENCE 2017-01-11 23:11:11 +01:00
hkbakke 858c25ad24 Delete LICENSE 2017-01-11 23:10:54 +01:00
hkbakke 4848dd58e2 Update README.md 2017-01-11 23:06:23 +01:00
hk 115fd74bcc Fix some minor typos and inconsistencies 2016-11-18 11:39:25 +01:00
hk 81652d2310 Remove printing ifb config as it made the output inconsistent 2016-10-31 13:43:17 +01:00
hk 2b1c434391 Also print ifb configuration if it is configured on ingress 2016-10-31 13:37:45 +01:00
hk dca9f124e4 Fix some errors in documentation 2016-10-31 13:01:44 +01:00
hk 8cb8fbe5e4 First code commit 2016-10-31 12:58:41 +01:00
hkbakke 35459c323d Initial commit 2016-10-31 12:41:31 +01:00