Loading
net: hns3: fix reset timeout under full functions and queues
mainline inclusion from mainline-v6.9-rc1 commit 216bc415d6631e769e2bd2266e2017f89a8b78f9 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I98TUP CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=216bc415d6631e769e2bd2266e2017f89a8b78f9 ---------------------------------------------------------------------- The cmdq reset command times out when all VFs are enabled and the queue is full. The hardware processing time exceeds the timeout set by the driver. In order to avoid the above extreme situations, the driver extends the reset timeout to 1 second. Signed-off-by:Peiyang Wang <wangpeiyang1@huawei.com> Signed-off-by:
Jijie Shao <shaojijie@huawei.com> Reviewed-by:
Sunil Goutham <sgoutham@marvell.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Jiantao Xiao <xiaojiantao1@h-partners.com>