]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[bnxt] Do not abort teardown on command failure 1700/head
authorJoseph Wong <joseph.wong@broadcom.com>
Thu, 30 Apr 2026 21:03:29 +0000 (14:03 -0700)
committerMichael Brown <mcb30@ipxe.org>
Fri, 1 May 2026 16:09:32 +0000 (17:09 +0100)
commitae8defc279dc4ff8173820145bd1b80bc5818d82
treea09863a2639100a86065ebebf7531db41779e51f
parent822d4b1437490abe64de8a5bc580e14c5bcdc71e
[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>
src/drivers/net/bnxt/bnxt.c