Bug#972784: Malformated JSON on tc qdisc

2020-11-28 Thread romeo.ginon
Hello Luca, Looks great with a valid json syntax. tc -j qdisc show dev enp1s0f0 [{"kind":"mqprio","handle":"8001:","root":true,"options":{"tc":2,"map":[0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0],"queues":[[0,3],[4,7]],"mode":"channel","shaper":"dcb"}},{"kind":"pfifo_fast","handle":"0:","parent":"8

Bug#972784: Malformated JSON on tc qdisc

2020-11-27 Thread romeo.ginon
Hello, It's better but still malformated (ip utility, iproute2-ss190107 + patch 1407305 ). Please find below output result. Thank you for your consideration, let me know if you need more tests. tc -j -p qdisc show dev enp1s0f0 [ { "kind": "mqprio", "handle": "800