diff options
| author | Moshe Shemesh <[email protected]> | 2020-11-23 05:36:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-24 21:04:04 +0000 |
| commit | 5204bb683c1633e550c2124ccc2358dd645a80db (patch) | |
| tree | bd7955b94678e96d3b89de81d6a094c9c50219a8 /net/ipv6/tcp_ipv6.c | |
| parent | aquantia: Remove the build_skb path (diff) | |
| download | kernel-5204bb683c1633e550c2124ccc2358dd645a80db.tar.gz kernel-5204bb683c1633e550c2124ccc2358dd645a80db.zip | |
devlink: Fix reload stats structure
Fix reload stats structure exposed to the user. Change stats structure
hierarchy to have the reload action as a parent of the stat entry and
then stat entry includes value per limit. This will also help to avoid
string concatenation on iproute2 output.
Reload stats structure before this fix:
"stats": {
"reload": {
"driver_reinit": 2,
"fw_activate": 1,
"fw_activate_no_reset": 0
}
}
After this fix:
"stats": {
"reload": {
"driver_reinit": {
"unspecified": 2
},
"fw_activate": {
"unspecified": 1,
"no_reset": 0
}
}
Fixes: a254c264267e ("devlink: Add reload stats")
Signed-off-by: Moshe Shemesh <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
