diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-09-03 06:05:23 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-09-17 06:20:18 +0000 |
| commit | fc809d6a6191ef4e881119ec00ea752d1ed6cc37 (patch) | |
| tree | 0b59fcbf9f598b4fe6d3fc2948a68076cfa7c598 /lib/libc/gen | |
| parent | 9a1756f831a77ee8292821c9efd38c2125bff88c (diff) | |
ice: Quiesce queues after partial initialization
ice_if_init marks DRIVER_INITIALIZED only after all queue and filter
operations succeed, so ice_if_stop intentionally does nothing after an
initialization failure. Each failure path must therefore unwind any
hardware queues it may have configured before iflib releases their DMA
mappings.
Tx setup enables firmware scheduler queues one at a time, and Rx enable
similarly processes queues incrementally. Route failures from both
operations through cleanup paths for both the PF and mirror VSIs. The
cleanup helpers tolerate queues which were not configured, so they also
cover failures on the first queue.
This leaves failed initialization stopped as required by the
iflib_init_failed contract.
MFC after: 2 weeks
Sponsored by: BBOX.io
Differential Revision: https://reviews.freebsd.org/D59331
Diffstat (limited to 'lib/libc/gen')
0 files changed, 0 insertions, 0 deletions
