aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/(developers-only)
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-08-09 07:16:57 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-08-09 23:45:17 +0000
commit612f87c949a2aa3363258890bca2abaea99d3fd6 (patch)
tree5790042475e0e9adb392517f33d31a4bad37eede /contrib/llvm/(developers-only)
parent9328a7eedba115040312bd1ea368371a0dbd0cac (diff)
igbv: Recover when the PF mailbox is unavailableHEADmain
A VF reset can sanitize its retained queue registers even when the PF does not complete the cooperative mailbox handshake. Keep those two states separate. Do not program or enable the rings until both queue sanitation and mailbox initialization have succeeded. Report either initialization failure to iflib so the interface remains stopped. Stopped admin and media-status passes now publish cached link-down state without polling the mailbox. While the VF remains administratively up, retry complete initialization after 250 ms, one second, four seconds, and then at a capped eight-second interval. Conditional iflib reset requests ensure an intervening administrative down cancels a queued retry. Avoid a redundant mailbox reset in the stop half of an immediate iflib reinitialization; the following init performs the required reset. Preserve the reset on an ordinary administrative stop and keep the existing bounded queue-sanitation retry policy independent from mailbox liveness recovery.
Diffstat (limited to 'contrib/llvm/(developers-only)')
0 files changed, 0 insertions, 0 deletions