aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2022-02-20 04:05:48 -0500
committerDavid S. Miller <[email protected]>2022-02-20 13:47:14 +0000
commit6758f937669dba14c6aac7ca004edda42ec1b18d (patch)
tree9063614ad9683e1398bfe9bca1b47c72614dde6c /lib/test_overflow.c
parent84d3c83e6ea7d46cf3de3a54578af73eb24a64f2 (diff)
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: 55fd0cf320c3 ("bnxt_en: Add external loopback test to ethtool selftest.") Reviewed-by: Edwin Peer <[email protected]> Reviewed-by: Ben Li <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions