]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: Add a new time-stamp format for health reporter's dump
authorAya Levin <ayal@mellanox.com>
Wed, 11 Dec 2019 15:45:35 +0000 (17:45 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 17 Dec 2019 04:52:37 +0000 (20:52 -0800)
commit746b66b005782dc9621f4fc84d0a1859300a6d01
tree7bc46682ae73e39f8e9c81b43e7d2daccf9d2c2f
parentf678a2d08e9793fbd5996d206061b94aa3b8d88a
devlink: Add a new time-stamp format for health reporter's dump

Introduce a new attribute representing a new time-stamp format: current
time in ns (to comply with y2038) instead of jiffies. If the new
attribute was received, translate the time-stamp accordingly (ns).

Fixes: 2f1242efe9d0 ("devlink: Add devlink health show command")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
devlink/devlink.c