summaryrefslogtreecommitdiff
path: root/templates/traffic-policy
AgeCommit message (Collapse)Author
2022-08-17trafic-policy: T4618: Set correct priority for traffic-policyViacheslav Hletenko
Traffic-policy should be exist before than we can attach it to an interface The interface should exist before we can attach traffic-policy to it (cherry picked from commit b8786cd1044b117e4629689efa7e632b0d47d271)
2020-06-25qos: T2572: fix default tc unitscurrite
Fix every wrong default unit in rates for Limiter, Network Emulator, Rate Control, Shaper and Shaper HFSC. Delete default unit help for Random Detect.
2015-03-26Remove small packets matching from fq-codel import (already fixed in #513) ↵kouak
(#446)
2015-03-26add fq-codel parameters (#446)Carl Byington
Signed-off-by: kouak <kouak@kouak.org>
2015-03-26add fair queue codel queueing (#446)Carl Byington
Signed-off-by: kouak <kouak@kouak.org>
2015-03-25Refactor QoS class match templateskouak
2015-01-06HFSC Configuration support (#428)kouak
2014-05-21Update shaping rate helpHiroyuki Sato
2012-08-17Fix a few priority-queue problemsJohn Southworth
Priority queue automatically creates classes 1:[1-7] so we have to use these as our classes. Default class needs to be in the priomap (this is ugly, but it works there must be a better way)
2012-07-13Add support for priority-queue policyStephen Hemminger
Bug 3643 Enhancement to expose kernel priority queuing.
2012-03-16fixing 7322Gaurav Sinha
2011-08-08Fix help text refering to TCP portStephen Hemminger
Bug 7322 The match value is on port number and it can be either TCP or UDP.
2011-03-02Remove leftover check for port rangeStephen Hemminger
Bug 6865 Port can be text or numeric value (like destination port).
2010-12-21Change help strings to eliminate verbStephen Hemminger
2010-12-07Revert "Add nested shaper classes"Stephen Hemminger
This reverts commit bcb18b96605e194cf8c186467b0a4d853695f75e.
2010-10-19Add nested shaper classesStephen Hemminger
This adds: traffic-policy myexample { bandwidth 100Mbit class 2 { class 2a { ...
2010-08-26add range check for IP source portStephen Hemminger
2010-08-17Fix help messageStephen Hemminger
Queue limit is in packets not bytes. (cherry picked from commit baaee833507361b891601101b4faa4c5baaa3c41)
2010-08-17Make round-robin quantum per classStephen Hemminger
Bug 5958 (cherry picked from commit 7f42350146525544bd38db2426d6f5c7b99302c2)
2010-08-17Allow class 1 for round-robinStephen Hemminger
(cherry picked from commit ad3d4ae244558ee0377ef600ece482f22048ff03)
2010-08-17allow larger queue size for round-robinStephen Hemminger
(cherry picked from commit 79a5811983069dbe5146cdd0db15ac28149d3af1)
2010-07-28Fix help string on limiter priorityStephen Hemminger
(cherry picked from commit 2c9b0e0641b24dc79320282eff358079b3c7c7c3)
2010-07-23Revert "Rename limiter class priority field to precedence"Stephen Hemminger
This reverts commit cf51e90bfc2d1c3b58192a726e786b598681fb71. Conflicts: templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def
2010-07-21Remove 'limiter default priority'Stephen Hemminger
Priority for default rule makes no sense. The default is always after all other rules.
2010-07-20Allow larger queue size for sub-queues in Shaper and RoundRobinStephen Hemminger
For queue-type (other than fair-queue), it is allowable to have larger queue size. Move validation into class checking.
2010-07-19Cleanup usage of val_help:Stephen Hemminger
Add spaces and use u32: format
2010-07-16Allow text string for IP port matchStephen Hemminger
This allows use of IANA (/etc/services) values for port names: example: traffic-policy shaper SS { class 2 { match SMTP ip destination port smtp } }
2010-07-16Use val_help: to show command optionsStephen Hemminger
Replace all usage in this package of comp_help with new val_help
2010-07-16Remove verb from help string textStephen Hemminger
And fix some typos
2010-07-15Allow match on Ethernet protocol nameStephen Hemminger
Allow using common values supported by TC filter.
2010-07-14Limit queues using fair-queue to <= 127Stephen Hemminger
Bug 5849
2010-07-13Require queue limit to be greater than zeroStephen Hemminger
Since queue limit of zero causes all packets to be dropped; require user to configure a reasonable value Bug 5842
2010-07-12Remove limiter firewall mark match templateStephen Hemminger
There is no way for firewall mark to be useful in limiter policy since limiter is only allowed on ingress. And ingress takes place before firewall rules are applied.
2010-07-12Rename limiter class priority field to precedenceStephen Hemminger
Bug 5407 This fixes the confusing usage of priority field in both shaper and limiter class. In limiter, it is renamed to precedence since it controls the order of match rule evaluation.
2010-07-08Add ability to match on firewall markStephen Hemminger
Bug 5799 - Add matching on firewall mark values Bug 5795 - Block match rules that have multiple underlying filters
2010-07-06Add help text for intermediate nodes in matchStephen Hemminger
Bug 5783
2010-06-14Reject ip as a IP protocol valueStephen Hemminger
The name ip exists in /etc/protocols as a pseudonym for all IP protocols. But the Qos match logic doesn't support it so do not allow the user to choose that value Bug 5689
2010-06-14Add default for traffic limiterStephen Hemminger
This adds: set traffic-policy limiter TL default bandwidth 1mbit
2010-06-07Rearrange Qos commands for LarkspurStephen Hemminger
Current (Kenwood and earlier): set qos-policy traffic-shaper TS { ...classes } set qos-policy traffic-limiter TL { ...classes } seq qos-policy network-emulator NE ... set qos-policy random-detect RD ... set qos-policy rate-limiter RC ... set qos-policy round-robin RR ... set interfaces ethernet eth0 qos-policy out TS set interfaces ethernet eth0 qos-policy in TL New (Larkspur and later): set traffic-policy shaper TS { ...classes } set traffic-policy limiter TL { ...classes } seq traffic-policy network-emulator NE ... set traffic-policy random-detect RD ... set traffic-policy rate-control RC ... set traffic-policy round-robin RR ... set interfaces ethernet eth0 traffic-policy out TS set interfaces ethernet eth0 traffic-policy in TL set interfaces ethernet eth0 redirect ifb0 set interfaces ethernet eth0 mirror eth2 Note: 1. Only one of the following is allowed: "redirect", or "mirror" 2. Traffic-policy limiter is allowed with redirection/mirror and takes place before mirror/redirect action (NEW) 3. Limiter policy may applied on output (NEW) 4. Only limiter policies can be applied on input (same as previous releases) This does add some new functionality (#2, and #3) which are possible because of how filter classes are implemented.