Commit ae8defc
[bnxt] Do not abort teardown on command failure
Modify bnxt_hwrm_run() to accept a flag indicating whether to abort
immediately upon a command failure. During initialization path,
driver will continue to abort on first error. During teardown,
sequence will continue executing subsequent cleanup commands even if
one fails. This ensures a best-effort cleanup.
Signed-off-by: Joseph Wong <joseph.wong@broadcom.com>1 parent 822d4b1 commit ae8defc
1 file changed
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2145 | 2145 | | |
2146 | 2146 | | |
2147 | 2147 | | |
2148 | | - | |
| 2148 | + | |
2149 | 2149 | | |
2150 | 2150 | | |
2151 | 2151 | | |
| 2152 | + | |
2152 | 2153 | | |
2153 | 2154 | | |
2154 | 2155 | | |
2155 | 2156 | | |
2156 | 2157 | | |
2157 | 2158 | | |
2158 | 2159 | | |
2159 | | - | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
2160 | 2167 | | |
2161 | 2168 | | |
2162 | | - | |
| 2169 | + | |
2163 | 2170 | | |
2164 | 2171 | | |
2165 | | - | |
2166 | | - | |
2167 | | - | |
2168 | | - | |
2169 | | - | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
2170 | 2177 | | |
2171 | 2178 | | |
2172 | 2179 | | |
| |||
0 commit comments