aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChandrakanth Patil <chandrakanth.patil@broadcom.com>2025-07-29 00:28:51 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-07-29 19:09:53 +0000
commitf7951799877c16cb901be1acc8d6643f0693cec4 (patch)
tree748dcdf406cb5eb2f0db5b15797f3ec81f204f7d /tests
parent706d8ffa3953c5b30a3527cfc63730c99a835f4b (diff)
pci_iov: Support dynamic subordinate bus growth during VF creationHEADmain
Certain SR-IOV devices enumerate Virtual Functions (VFs) on a different PCIe bus than their parent Physical Function (PF). In such cases, the default subordinate bus range assigned by BIOS may be insufficient to cover all VFs. This patch dynamically expands the subordinate bus range by: - Allocating additional bus numbers using bus_alloc_resource() when VFs are initialized - Releasing the reserved bus range during VF deletion via bus_release_resource() Reviewed by: jhb
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions