]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: relax dpipe table show dependency on resources
authorJiri Pirko <jiri@mellanox.com>
Thu, 21 Feb 2019 10:55:56 +0000 (11:55 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 21 Feb 2019 22:21:19 +0000 (14:21 -0800)
commit0e7e1819453cc5bc5610c896d3cbc5a30b48b164
treea334ccdd499734314f2e24be02d8e112396c01e4
parentd7cf2416fc3a08b411beffb93a9e118f6593892d
devlink: relax dpipe table show dependency on resources

Dpipe table show command has a depencency on getting resources.
If resource get command is not supported by the driver, dpipe table
show fails. However, resource is only additional information
in dpipe table show output. So relax the dependency and let
the dpipe tables be shown even if resources get command fails.

Fixes: ead180274caf ("devlink: Add support for resource/dpipe relation")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
devlink/devlink.c