diff options
author | Hao Lan <lanhao@huawei.com> | 2022-09-06 11:12:22 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-07 17:20:15 +0200 |
commit | 2cb343b9d3e59db0836045ff1dd67dfd15066697 (patch) | |
tree | efc1cfb7debe5ad7fad7df254502aab7a78273fc /drivers/net/ethernet/hisilicon/hns3/hns3vf | |
parent | net: hns3: debugfs add dump dscp map info (diff) | |
download | linux-2cb343b9d3e59db0836045ff1dd67dfd15066697.tar.xz linux-2cb343b9d3e59db0836045ff1dd67dfd15066697.zip |
net: hns3: add querying fec statistics
FEC statistics can be used to check the transmission quality of links.
This patch implements the get_fec_stats callback of ethtool_ops to support
querying FEC statistics by command "ethtool -I --show-fec eth0".
Signed-off-by: Hao Lan <lanhao@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3vf')
0 files changed, 0 insertions, 0 deletions