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: NShaozhengchao <shaozhengchao@huawei.com> Reviewed-by: NLuoshaokai <luoshaokai@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录