Commit c39add9
virtio_net: Add TX stopped and wake counters
Add a tx queue stop and wake counters, they are useful for debugging.
$ ./tools/net/ynl/cli.py --spec netlink/specs/netdev.yaml \
--dump qstats-get --json '{"scope": "queue"}'
...
{'ifindex': 13,
'queue-id': 0,
'queue-type': 'tx',
'tx-bytes': 14756682850,
'tx-packets': 226465,
'tx-stop': 113208,
'tx-wake': 113208},
{'ifindex': 13,
'queue-id': 1,
'queue-type': 'tx',
'tx-bytes': 18167675008,
'tx-packets': 278660,
'tx-stop': 8632,
'tx-wake': 8632}]
Signed-off-by: Daniel Jurgens <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Jason Xing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent b560351 commit c39add9
1 file changed
+26
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
145 | 147 | | |
146 | 148 | | |
147 | 149 | | |
| 150 | + | |
| 151 | + | |
148 | 152 | | |
149 | 153 | | |
150 | 154 | | |
| |||
1014 | 1018 | | |
1015 | 1019 | | |
1016 | 1020 | | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
1017 | 1024 | | |
1018 | 1025 | | |
1019 | 1026 | | |
| |||
1022 | 1029 | | |
1023 | 1030 | | |
1024 | 1031 | | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
1025 | 1035 | | |
1026 | 1036 | | |
1027 | 1037 | | |
| |||
2322 | 2332 | | |
2323 | 2333 | | |
2324 | 2334 | | |
2325 | | - | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
| 2340 | + | |
2326 | 2341 | | |
| 2342 | + | |
2327 | 2343 | | |
2328 | 2344 | | |
2329 | 2345 | | |
| |||
2473 | 2489 | | |
2474 | 2490 | | |
2475 | 2491 | | |
2476 | | - | |
| 2492 | + | |
| 2493 | + | |
| 2494 | + | |
| 2495 | + | |
| 2496 | + | |
| 2497 | + | |
2477 | 2498 | | |
| 2499 | + | |
2478 | 2500 | | |
2479 | 2501 | | |
2480 | 2502 | | |
| |||
4789 | 4811 | | |
4790 | 4812 | | |
4791 | 4813 | | |
| 4814 | + | |
| 4815 | + | |
4792 | 4816 | | |
4793 | 4817 | | |
4794 | 4818 | | |
| |||
0 commit comments