]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ipstats: Add a "set" command
authorPetr Machata <petrm@nvidia.com>
Fri, 22 Apr 2022 08:30:53 +0000 (10:30 +0200)
committerDavid Ahern <dsahern@kernel.org>
Thu, 28 Apr 2022 02:12:42 +0000 (20:12 -0600)
commit82f6444f83c76e01870ca9f7779a43cfd81d38d9
tree9bdc90650ca3a56d46a8623ec7372a6a3ff274a9
parent54d82b0699a07b1af32a46e229ed37331e38d3a2
ipstats: Add a "set" command

Add a command to allow toggling HW stats. An example usage:

 # ip stats set dev swp1 l3_stats on

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/ipstats.c