net/hns3: increase VF reset retry maximum
authorHongbo Zheng <zhenghongbo3@huawei.com>
Sun, 13 Jun 2021 02:31:51 +0000 (10:31 +0800)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commitb25987fa7e25b3ba852f9433d22761c006884205
treee2ef4e0213a1bda5dc9ee022a5db959861572f7b
parent40edb9c0d36b781d711fabb91e250dca8fa6bd99
net/hns3: increase VF reset retry maximum

When the device is very busy, VF reset may have to be
retried many times to succeed, leading to the current
max reset fail retry count not enough.

Modify max reset fail retry count to 30 to enhance
the reliability of reset function.

Fixes: 2790c6464725 ("net/hns3: support device reset")
Cc: stable@dpdk.org
Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_intr.c