diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-10 04:53:55 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-10 08:47:59 +0000 |
| commit | 4b195f1a25d5003117653a1a323ad19561dc8705 (patch) | |
| tree | ddb61b0aa88cf76a165dad1eb408a8708846c8dc /usr.bin/procstat/(developers-only) | |
| parent | ae122c5443882ae4d3d19aacfcfd16a2c8d7b688 (diff) | |
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
