]> git.baikalelectronics.ru Git - kernel.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)
commit2d8dfecab349aa3f67b348538ada1e4bc108cd39
treef69932aa1b805728d1b3eac08a6438eb228bbf55
parentfbbad8d4dc0a75aca5be0fb898343133a416b0ff
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