linux/drivers/net/ethernet/hisilicon/hns3/hns3vf
Huazhong Tan cddd564892 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: ef5f8e507e ("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>
2020-07-06 12:33:28 -07:00
..
Makefile net: hns3: add trace event support for PF/VF mailbox 2020-04-20 12:49:18 -07:00
hclgevf_cmd.c net: hns3: remove two unused macros in hclgevf_cmd.c 2020-05-30 17:41:22 -07:00
hclgevf_cmd.h net: hns3: modify an incorrect type in struct hclgevf_cfg_gro_status_cmd 2020-05-28 16:39:03 -07:00
hclgevf_main.c net: hns3: fix for mishandle of asserting VF reset fail 2020-07-06 12:33:28 -07:00
hclgevf_main.h net: hns3: fix an incorrect comment for num_tqps in struct hclgevf_dev 2020-05-30 17:41:22 -07:00
hclgevf_mbx.c net: hns3: add trace event support for PF/VF mailbox 2020-04-20 12:49:18 -07:00
hclgevf_trace.h net: hns3: add trace event support for PF/VF mailbox 2020-04-20 12:49:18 -07:00