]> git.proxmox.com Git - mirror_iproute2.git/commit
tc: prio: JSON-ify prio output
authorJakub Kicinski <jakub.kicinski@netronome.com>
Fri, 26 Jan 2018 19:27:57 +0000 (11:27 -0800)
committerDavid Ahern <dsahern@gmail.com>
Fri, 26 Jan 2018 21:00:18 +0000 (13:00 -0800)
commitc061b75895870010ea38979760dfb6806dd6fcbd
tree9041c0126659028c7056d13968900fc89d2c511b
parent097415d510212ab9139f3f0d3c1358e60e9efcbc
tc: prio: JSON-ify prio output

Make JSON output work with prio Qdiscs.  This will also make
other qdiscs which reuse the print_qopt work, like mqprio or
pfifo_fast.

Note that there is a double space between "priomap" and first
prio number.  Keep this original behaviour.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
tc/q_prio.c