]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: implement ethtool standard stats
authorJakub Kicinski <kuba@kernel.org>
Fri, 16 Apr 2021 19:27:43 +0000 (12:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Apr 2021 23:59:20 +0000 (16:59 -0700)
commit7d5b8f9949c1357428e1792653ec127928afe61b
treeacfbf8f2931e51682d610cb56b4baaaa9d6af3c8
parent98cd3bda52033849ecbcda925f71c3913856c90f
mlxsw: implement ethtool standard stats

mlxsw has nicely grouped stats, add support for standard uAPI.
I'm guessing the register access part. Compile tested only.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c