mbox series

[iproute2-net,v2,0/3] devlink: Add devlink reload action limit and stats

Message ID 1607319322-20970-1-git-send-email-moshe@mellanox.com (mailing list archive)
Headers show
Series devlink: Add devlink reload action limit and stats | expand

Message

Moshe Shemesh Dec. 7, 2020, 5:35 a.m. UTC
Introduce new options on devlink reload API to enable the user to select
the reload action required and constrains limits on these actions that he
may want to ensure.

Add reload stats to show the history per reload action per limit.

Patch 1 adds the new API reload action and reload limit options to
        devlink reload command.
Patch 2 adds pr_out_dev() helper function and modify monitor function to
        use it.
Patch 3 adds reload stats and remote reload stats to devlink dev show.

Moshe Shemesh (3):
  devlink: Add devlink reload action and limit options
  devlink: Add pr_out_dev() helper function
  devlink: Add reload stats to dev show

 devlink/devlink.c      | 268 +++++++++++++++++++++++++++++++++++++++--
 man/man8/devlink-dev.8 |  34 ++++++
 2 files changed, 291 insertions(+), 11 deletions(-)