linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Fuyun Liang 40173a2ec7 net: hns3: fix for updating fc_mode_last_time
commit a9c782822166 ("net: hns3: add support for set_pauseparam")
adds set_pauseparam support for ethtool cmd, but forgets to update
fc_mode_last_time when PFC mode is disabled in hclge_cfg_pauseparam().
The wrong fc_mode_last_time will be used to update flow control mode
when lldpad has been running. As a result, when using the ethtool
command "-a", user will get a wrong pause parameter.

This patch adds the fc_mode_last_time update when PFC mode is disabled.

Fixes: a9c782822166 ("net: hns3: add support for set_pauseparam")
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-08 14:06:18 -05:00
..
hns3pf net: hns3: fix for updating fc_mode_last_time 2018-01-08 14:06:18 -05:00
hns3vf net: hns3: Fix a response data read error of tqp statistics query 2018-01-08 14:06:18 -05:00
hclge_mbx.h net: hns3: Add mailbox support to VF driver 2017-12-15 10:55:34 -05:00
hnae3.c net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00
hnae3.h net: hns3: Add ethtool interface for vlan filter 2018-01-08 14:06:17 -05:00
hns3_dcbnl.c net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00
hns3_enet.c net: hns3: Fix an error of total drop packet statistics 2018-01-08 14:06:18 -05:00
hns3_enet.h net: hns3: add support to modify tqps number 2017-12-27 10:40:20 -05:00
hns3_ethtool.c net: hns3: Add packet statistics of netdev 2018-01-08 14:06:18 -05:00
Makefile net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC 2017-12-15 10:55:34 -05:00