diff options
author | Jijie Shao <shaojijie@huawei.com> | 2023-11-10 10:37:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-13 10:06:58 +0100 |
commit | 65e98bb56fa3ce2edb400930c05238c9b380500e (patch) | |
tree | 58fa62172c37fa3deef18ad323ce3e4682cb9dd9 /fs/ramfs | |
parent | net: hns3: fix variable may not initialized problem in hns3_init_mac_addr() (diff) | |
download | linux-65e98bb56fa3ce2edb400930c05238c9b380500e.tar.xz linux-65e98bb56fa3ce2edb400930c05238c9b380500e.zip |
net: hns3: fix VF reset fail issue
Currently the reset process in hns3 and firmware watchdog init process is
asynchronous. We think firmware watchdog initialization is completed
before VF clear the interrupt source. However, firmware initialization
may not complete early. So VF will receive multiple reset interrupts
and fail to reset.
So we add delay before VF interrupt source and 5 ms delay
is enough to avoid second reset interrupt.
Fixes: 427900d27d86 ("net: hns3: fix the timing issue of VF clearing interrupt sources")
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ramfs')
0 files changed, 0 insertions, 0 deletions