commit | 03ba35667091337d8e632cf4b814f1c1b914609b | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@nvidia.com> | Wed Mar 02 18:31:22 2022 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 03 10:37:23 2022 +0000 |
tree | 782922ee89c832d65c5cef1a01a793288c56cf63 | |
parent | 0e7788fd76222dba3229eada9162efab185923fc [diff] |
net: rtnetlink: Add RTM_SETSTATS The offloaded HW stats are designed to allow per-netdevice enablement and disablement. These stats are only accessible through RTM_GETSTATS, and therefore should be toggled by a RTM_SETSTATS message. Add it, and the necessary skeleton handler. Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>