Re: [PATCH iproute2-net 3/3] devlink: Add reload stats to dev show

2020-12-01 Thread Moshe Shemesh
On 11/29/2020 11:22 PM, David Ahern wrote: On 11/26/20 4:14 AM, Moshe Shemesh wrote: @@ -2975,17 +2996,93 @@ static int cmd_dev_param(struct dl *dl) return -ENOENT; } -static void pr_out_dev(struct dl *dl, struct nlattr **tb) +static void pr_out_action_stats(struct dl *dl, struct

Re: [PATCH iproute2-net 3/3] devlink: Add reload stats to dev show

2020-11-29 Thread David Ahern
On 11/26/20 4:14 AM, Moshe Shemesh wrote: > @@ -2975,17 +2996,93 @@ static int cmd_dev_param(struct dl *dl) > return -ENOENT; > } > > -static void pr_out_dev(struct dl *dl, struct nlattr **tb) > +static void pr_out_action_stats(struct dl *dl, struct nlattr *action_stats) > +{ > + struc