mbox series

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

Message ID 1606389296-3906-1-git-send-email-moshe@mellanox.com
Headers show
Series devlink: Add devlink reload action limit and stats | expand

Message

Moshe Shemesh Nov. 26, 2020, 11:14 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            | 260 +++++++++++++++++++++++++++++++++--
 include/uapi/linux/devlink.h |   2 +
 2 files changed, 249 insertions(+), 13 deletions(-)

Comments

Vasundhara Volam Dec. 1, 2020, 11:25 a.m. UTC | #1
On Thu, Nov 26, 2020 at 4:46 PM Moshe Shemesh <moshe@mellanox.com> wrote:
>

> 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            | 260 +++++++++++++++++++++++++++++++++--

>  include/uapi/linux/devlink.h |   2 +

>  2 files changed, 249 insertions(+), 13 deletions(-)

I see man pages are not updated accordingly in this series. Will it be
updated in the follow-up patch?
>

> --

> 2.18.2

>
Moshe Shemesh Dec. 2, 2020, 8:44 a.m. UTC | #2
On 12/1/2020 1:25 PM, Vasundhara Volam wrote:
> On Thu, Nov 26, 2020 at 4:46 PM Moshe Shemesh <moshe@mellanox.com> wrote:

>> 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            | 260 +++++++++++++++++++++++++++++++++--

>>   include/uapi/linux/devlink.h |   2 +

>>   2 files changed, 249 insertions(+), 13 deletions(-)

> I see man pages are not updated accordingly in this series. Will it be

> updated in the follow-up patch?

Right, I will update man page. Thanks.
>> --

>> 2.18.2

>>