Commit 6758f93
bnxt_en: Fix offline ethtool selftest with RDMA enabled
For offline (destructive) self tests, we need to stop the RDMA driver
first. Otherwise, the RDMA driver will run into unrecoverable errors
when destructive firmware tests are being performed.
The irq_re_init parameter used in the half close and half open
sequence when preparing the NIC for offline tests should be set to
true because the RDMA driver will free all IRQs before the offline
tests begin.
Fixes: 55fd0cf ("bnxt_en: Add external loopback test to ethtool selftest.")
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Reviewed-by: Ben Li <ben.li@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 84d3c83 commit 6758f93
2 files changed
+14
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10330 | 10330 | | |
10331 | 10331 | | |
10332 | 10332 | | |
10333 | | - | |
| 10333 | + | |
10334 | 10334 | | |
10335 | 10335 | | |
10336 | 10336 | | |
10337 | 10337 | | |
10338 | | - | |
| 10338 | + | |
10339 | 10339 | | |
10340 | 10340 | | |
10341 | 10341 | | |
| |||
10344 | 10344 | | |
10345 | 10345 | | |
10346 | 10346 | | |
10347 | | - | |
| 10347 | + | |
10348 | 10348 | | |
10349 | 10349 | | |
10350 | 10350 | | |
| |||
10354 | 10354 | | |
10355 | 10355 | | |
10356 | 10356 | | |
10357 | | - | |
| 10357 | + | |
10358 | 10358 | | |
10359 | | - | |
| 10359 | + | |
10360 | 10360 | | |
10361 | 10361 | | |
10362 | 10362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
3551 | 3552 | | |
3552 | 3553 | | |
3553 | 3554 | | |
3554 | | - | |
3555 | | - | |
| 3555 | + | |
| 3556 | + | |
| 3557 | + | |
| 3558 | + | |
3556 | 3559 | | |
| 3560 | + | |
3557 | 3561 | | |
3558 | 3562 | | |
3559 | 3563 | | |
| |||
3563 | 3567 | | |
3564 | 3568 | | |
3565 | 3569 | | |
| 3570 | + | |
3566 | 3571 | | |
3567 | 3572 | | |
3568 | 3573 | | |
| |||
3588 | 3593 | | |
3589 | 3594 | | |
3590 | 3595 | | |
3591 | | - | |
| 3596 | + | |
| 3597 | + | |
3592 | 3598 | | |
3593 | 3599 | | |
3594 | 3600 | | |
| |||
0 commit comments