]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: Change devlink health dump show command to dumpit
authorAya Levin <ayal@mellanox.com>
Wed, 10 Jul 2019 11:03:19 +0000 (14:03 +0300)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 15 Jul 2019 20:50:55 +0000 (13:50 -0700)
commitb4d97ef57fd4b7669971ed209065a72d115dffc2
treec23bce03411b270b52371cf2751fc67549581674
parent1f420318bda3cc62156e89e1b56d60cc744b48ad
devlink: Change devlink health dump show command to dumpit

Although devlink health dump show command is given per reporter, it
returns large amounts of data. Trying to use the doit cb results in
OUT-OF-BUFFER error. This complementary patch raises the DUMP flag in
order to invoke the dumpit cb. We're safe as no existing drivers
implement the dump health reporter option yet.

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