]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: Add support for ETS Qdisc
authorPetr Machata <pmachata@gmail.com>
Mon, 13 Jan 2020 14:16:29 +0000 (15:16 +0100)
committerDavid Ahern <dsahern@gmail.com>
Sat, 18 Jan 2020 21:54:12 +0000 (21:54 +0000)
commitd2773f12615430f19097584a8d4b6f99d886f90d
tree4c1bae1c642ee26896e0bdc5563166fcf7680a78
parent0da4cfaa5d57a0329357a256eb9e92020e1fcd07
tc: Add support for ETS Qdisc

Add a new module to generate and parse options specific to the ETS Qdisc.

Example output:

    bands 8 strict 3 priomap 0 1 2 3 4 5 6 7
qdisc ets 1: root refcnt 2 offloaded bands 8 strict 3 quanta 1514 1514 1514 1514 1514 priomap 0 1 2 3 4 5 6 7 7 7 7 7 7 7 7 7
[
  {
    "kind": "ets",
    "handle": "1:",
    "root": true,
    "refcnt": 2,
    "offloaded": true,
    "options": {
      "bands": 8,
      "strict": 3,
      "quanta": [1514, 1514, 1514, 1514, 1514],
      "priomap": [0, 1, 2, 3, 4, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7]
    }
  }
]

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
man/man8/tc-ets.8 [new file with mode: 0644]
man/man8/tc.8
tc/Makefile
tc/q_ets.c [new file with mode: 0644]