aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/procstat/(developers-only)
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-08-10 04:53:55 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-08-10 08:47:59 +0000
commit4b195f1a25d5003117653a1a323ad19561dc8705 (patch)
treeddb61b0aa88cf76a165dad1eb408a8708846c8dc /usr.bin/procstat/(developers-only)
parentae122c5443882ae4d3d19aacfcfd16a2c8d7b688 (diff)
pci_iov: Roll back failed VF enumerationHEADmain
pci_iov_enumerate_vfs() logged a failed VF creation or driver configuration but still reported the whole SR-IOV configuration as successful. The PF remained enabled with the requested NumVFs and driver state even though one or more VF children were absent. Make VF enumeration atomic. Delete children created by the failed attempt, invoke the PF driver cleanup, disable VF memory space and VF Enable, release the IOV resources, and return the original error to iovctl. Also treat failure to create a VF child as an error instead of silently accepting a partial configuration. MFC after: 2 weeks
Diffstat (limited to 'usr.bin/procstat/(developers-only)')
0 files changed, 0 insertions, 0 deletions