]> asedeno.scripts.mit.edu Git - linux.git/commit
net: hns3: enlarge HCLGE_RESET_WAIT_CNT
authorHuazhong Tan <tanhuazhong@huawei.com>
Sat, 11 Jan 2020 08:33:51 +0000 (16:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jan 2020 22:52:23 +0000 (14:52 -0800)
commit5bb784e973cf35f9883b10bb7b1588616c7ed6b1
treef69932aa1b805728d1b3eac08a6438eb228bbf55
parentf28368bb4542dbc3c5b6e818211a68cbca6f4d75
net: hns3: enlarge HCLGE_RESET_WAIT_CNT

When the load of firmware is high, its reset task may takes
more time(which will be as long as 35 seconds). So this
patch modifies HCLGE_RESET_WAIT_CNT to match the firmware's.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c