summaryrefslogtreecommitdiffstats
path: root/net/ethtool/eee.c
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2021-04-06 15:10:43 +0200
committerDavid S. Miller <davem@davemloft.net>2021-04-07 01:40:06 +0200
commited7bedd2c3ca040f1e8ea02c6590a93116b1ec78 (patch)
tree21377a5ae46baccd00a5fd554d4b81d16ed02017 /net/ethtool/eee.c
parentMerge tag 'linux-can-fixes-for-5.12-20210406' of git://git.kernel.org/pub/scm... (diff)
downloadlinux-ed7bedd2c3ca040f1e8ea02c6590a93116b1ec78.tar.xz
linux-ed7bedd2c3ca040f1e8ea02c6590a93116b1ec78.zip
net: hns3: clear VF down state bit before request link status
Currently, the VF down state bit is cleared after VF sending link status request command. There is problem that when VF gets link status replied from PF, the down state bit may still set as 1. In this case, the link status replied from PF will be ignored and always set VF link status to down. To fix this problem, clear VF down state bit before VF requests link status. Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool/eee.c')
0 files changed, 0 insertions, 0 deletions