diff options
| author | Huazhong Tan <tanhuazhong@huawei.com> | 2020-07-06 14:26:00 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-07-06 22:33:28 +0300 |
| commit | cddd5648926d7a6e84526dadd8bfb21609a14fb7 (patch) | |
| tree | 2d8ba71807ae2bd63072719775bafb09aafee8b8 /include/linux/fpga/fpga-mgr.h | |
| parent | bb3d866882c280a85e8950d4d72af1e294d2e69c (diff) | |
| download | linux-cddd5648926d7a6e84526dadd8bfb21609a14fb7.tar.xz | |
net: hns3: fix for mishandle of asserting VF reset fail
When asserts VF reset fail, flag HCLGEVF_STATE_CMD_DISABLE
and handshake status should not set, otherwise the retry will
fail. So adds a check for asserting VF reset and returns
directly when fails.
Fixes: ef5f8e507ec9 ("net: hns3: stop handling command queue while resetting VF")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions
