iproute2/devlink
Moshe Shemesh 0c0023ad71 devlink: Add pr_out_dev() helper function
Add pr_out_dev() helper function and use it both by cmd_dev_show_cb()
and by cmd_mon_show_cb().

Dev stats will be added on the next patch to dev context, so
cmd_mon_show_cb() should print the whole dev context and not just dev
handle.

Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
2020-12-09 02:42:09 +00:00
..
.gitignore devlink: ignore build result 2016-04-11 13:35:12 -07:00
Makefile lib: Extract from devlink/mnlg a helper, mnlu_socket_open() 2020-11-13 19:43:15 -07:00
devlink.c devlink: Add pr_out_dev() helper function 2020-12-09 02:42:09 +00:00
mnlg.c lib: Extract from devlink/mnlg a helper, mnlu_socket_recv_run() 2020-11-13 19:43:15 -07:00
mnlg.h devlink: implement flash status monitoring 2019-09-16 07:49:25 -07:00