hinic: bump up the timeout of SET_FUNC_STATE cmd
authorLuo bin <luobin9@huawei.com>
Fri, 4 Sep 2020 08:37:28 +0000 (16:37 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Sep 2020 22:24:39 +0000 (15:24 -0700)
commit4e4269ebe7e18038fffacf113e2dd5ded6d49942
tree9e36d12c03fb4c28bbcf3b0141caf5e8226885c0
parentcc8e58f8325cdf14b9516b61c384cdfd02a4f408
hinic: bump up the timeout of SET_FUNC_STATE cmd

We free memory regardless of the return value of SET_FUNC_STATE
cmd in hinic_close function to avoid memory leak and this cmd may
timeout when fw is busy with handling other cmds, so we bump up the
timeout of this cmd to ensure it won't return failure.

Fixes: 00e57a6d4ad3 ("net-next/hinic: Add Tx operation")
Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.c