]> git.baikalelectronics.ru Git - kernel.git/commit
hinic: implement the statistical interface of ethtool
authorXue Chaojing <xuechaojing@huawei.com>
Mon, 24 Jun 2019 03:50:12 +0000 (03:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2019 14:18:11 +0000 (07:18 -0700)
commitdd789e4a4bf5e5fb58b6872067f2e312f2181352
treec5ab32f223b45a322d6a3599084fec9b49f62b8f
parent5d874f0c8e2eb61462690a706b935c8aeede32ec
hinic: implement the statistical interface of ethtool

This patch implement the statistical interface of ethtool, user can use
ethtool -S to show hinic statistics.

Signed-off-by: Xue Chaojing <xuechaojing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
drivers/net/ethernet/huawei/hinic/hinic_hw_dev.h
drivers/net/ethernet/huawei/hinic/hinic_main.c
drivers/net/ethernet/huawei/hinic/hinic_port.c
drivers/net/ethernet/huawei/hinic/hinic_port.h
drivers/net/ethernet/huawei/hinic/hinic_rx.c
drivers/net/ethernet/huawei/hinic/hinic_rx.h
drivers/net/ethernet/huawei/hinic/hinic_tx.c
drivers/net/ethernet/huawei/hinic/hinic_tx.h