]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: IPoIB, Add ndo stats support for IPoIB child devices
authorFeras Daoud <ferasda@mellanox.com>
Sun, 2 Sep 2018 19:12:09 +0000 (22:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Sep 2018 23:22:42 +0000 (16:22 -0700)
commit11f6b60b940d364f0b59918eea37db87c99263af
treea4744c50fedbcb8987f5b860348617f2c1730a3a
parent7699edb97cf334669b24846a48496dfb9562303b
net/mlx5e: IPoIB, Add ndo stats support for IPoIB child devices

Expose RX and TX counters by implementing ndo_get_stats64 operation
for child devices.

Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c