net: hns3: fix reset timeout when enable full VF
authorJijie Shao <shaojijie@huawei.com>
Fri, 12 May 2023 10:00:14 +0000 (18:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 May 2023 16:12:23 +0000 (17:12 +0100)
commit6b45d5ff8c2c61baddd67d7510075ae121c5e704
tree7bb31880699eaeb41038eb7a1bf06de3deaa4e95
parent814d0c786068e858d889ada3153bff82f64223ad
net: hns3: fix reset timeout when enable full VF

The timeout of the cmdq reset command has been increased to
resolve the reset timeout issue in the full VF scenario.
The timeout of other cmdq commands remains unchanged.

Fixes: 8d307f8e8cf1 ("net: hns3: create new set of unified hclge_comm_cmd_send APIs")
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Hao Lan <lanhao@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h