Commit a6c888a5 authored by Shaozhengchao's avatar Shaozhengchao Committed by Yang Yingliang
Browse files

net/hinic: Solve the problem that 1822 NIC reports 5d0 error



driver inclusion
category: bugfix
bugzilla: 4472

-----------------------------------------------------------------------

When the VF is performing the updown operation and receiving packets at the
same time, the NIC may report the 5d0 error during the PF hot upgrade NIC
firmware.
In order to solve the problem, VF driver and PF driver must wait for the
meassage that vport is disabled by NIC firmware. Then driver can release tx
and rx resources. So we set Mbox timeout equals to 30 seconds, api cmd
timeout equals to 25 seconds and cmdq timeout equals to 5 seconds.

Signed-off-by: default avatarShaozhengchao <shaozhengchao@huawei.com>
Reviewed-by: default avatarLuoshaokai <luoshaokai@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent f7ea2f0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment