diff options
author | Chandrakanth Patil <chandrakanth.patil@broadcom.com> | 2025-07-29 00:28:51 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2025-07-29 19:09:53 +0000 |
commit | f7951799877c16cb901be1acc8d6643f0693cec4 (patch) | |
tree | 748dcdf406cb5eb2f0db5b15797f3ec81f204f7d /utils/perf-training/(developers-only) | |
parent | 706d8ffa3953c5b30a3527cfc63730c99a835f4b (diff) |
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 'utils/perf-training/(developers-only)')
0 files changed, 0 insertions, 0 deletions