]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: increase the max time for IMP handle command
authorPeng Li <lipeng321@huawei.com>
Wed, 21 Mar 2018 07:49:24 +0000 (15:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2018 17:12:02 +0000 (13:12 -0400)
commit3fb34711b6b9ec085c52d16d9561f492a9b5ef6d
tree52aa53353795665dbf32cf54767de64371e943fc
parent2f858b91c62018f1b1301c7bad93ec1514e15a02
net: hns3: increase the max time for IMP handle command

It may need more time for IMP handle some command, such as reset.
This patch enlarges the max time for cmd timeout.

Driver will check the IMP result every us, it may break through the
loop when get the right result. So not all command need the max time.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h