diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-09 02:03:49 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-09 06:46:41 +0000 |
| commit | 6f8b3be1fbd661bfa11c55081851c36ee1d5d2c1 (patch) | |
| tree | 7ae28085baa7906bf120814e64a82526eb415948 /sys/alpha/linux | |
| parent | 2d6114f6d26bf7dfa5ad94e1db9b09ee7108dc7a (diff) | |
pci: Add SR-IOV status reporting
Add a generic packed-nvlist status query to each /dev/iov/<PF>
control device. Report the live VF Enable state, configured and total
VF counts, and one record for each configured VF.
Each VF record contains its PF-local index, computed PCI location,
newbus attachment state, attached driver, and ppt binding. Construct
records for hardware VFs whose newbus child is absent so attachment
failures remain visible.
Version the extensible schema in sys/iov.h. Use fixed-width request
fields so the ioctl command and layout are identical for 32-bit callers.
Serialize the topology snapshot with Giant, then pack and copy it after
releasing Giant.
Diffstat (limited to 'sys/alpha/linux')
0 files changed, 0 insertions, 0 deletions
