aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2019-08-16 16:09:41 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-18 12:59:13 -0700
commit20981a1e6b708536493e10ba90016ae28a9f3749 (patch)
tree60fab02c8c5a6a4429f6adf628a01a8b20436d9f /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c
parentnet: hns3: change print level of RAS error log from warning to error (diff)
downloadlinux-dev-20981a1e6b708536493e10ba90016ae28a9f3749.tar.xz
linux-dev-20981a1e6b708536493e10ba90016ae28a9f3749.zip
net: hns3: prevent unnecessary MAC TNL interrupt
MAC TNL interrupt is used to collect statistic info about link status changing suddenly when netdev is running. But when stopping netdev, the enabled MAC TNL interrupt is unnecessary, and may add some noises to the statistic info. So this patch disables it before stopping MAC. Fixes: a63457878b12 ("net: hns3: Add handling of MAC tunnel interruption") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c')
0 files changed, 0 insertions, 0 deletions