sched: act_sample: Implement stats_update callback
authorIdo Schimmel <idosch@nvidia.com>
Wed, 10 Mar 2021 10:33:20 +0000 (12:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2021 20:45:15 +0000 (12:45 -0800)
commit58c04397f74b7e949751663ac1dbfb4e964c389d
treeac0f9f470bd849b7678855cebb9da26e8c9541a0
parent762c1adb1c15655307b079393f14f098d135f051
sched: act_sample: Implement stats_update callback

Implement this callback in order to get the offloaded stats added to the
kernel stats.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_sample.c