Commit 65e98bb
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: 427900d ("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>1 parent dbd2f3b commit 65e98bb
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1981 | 1981 | | |
1982 | 1982 | | |
1983 | 1983 | | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
| 1991 | + | |
1984 | 1992 | | |
1985 | 1993 | | |
| 1994 | + | |
| 1995 | + | |
1986 | 1996 | | |
1987 | 1997 | | |
1988 | 1998 | | |
| |||
1994 | 2004 | | |
1995 | 2005 | | |
1996 | 2006 | | |
1997 | | - | |
| 2007 | + | |
| 2008 | + | |
1998 | 2009 | | |
1999 | 2010 | | |
2000 | 2011 | | |
| |||
2937 | 2948 | | |
2938 | 2949 | | |
2939 | 2950 | | |
| 2951 | + | |
2940 | 2952 | | |
2941 | 2953 | | |
2942 | 2954 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
| |||
0 commit comments