summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2021-04-06 21:10:43 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-14 08:42:11 +0200
commitf780a08088274280d10b356b68297d32dbe33dc8 (patch)
tree358bc94ea36631a654203547d64111801b0ba072 /include/linux
parentf473789db5369f1cc33b6490276029ab58716c34 (diff)
net: hns3: clear VF down state bit before request link status
[ Upstream commit ed7bedd2c3ca040f1e8ea02c6590a93116b1ec78 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions