aboutsummaryrefslogtreecommitdiff
path: root/lib/libstdthreads
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-08-21 02:45:33 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-08-22 01:03:49 +0000
commitf003e86335c9c16c6769ef8f0c091d425dba7ef9 (patch)
tree3f79a7392413e0e50238d7b6efe9d669472060c3 /lib/libstdthreads
parent82a3337952b922c48c55d1359ab0472f1d116c7a (diff)
ofw_pcibus: Inherit PF locality for SR-IOV VFs
PCI VFs are allocated dynamically and have no corresponding OFW node. The zero-filled OFW PCI devinfo currently leaves obd_node as 0, which is not the invalid-node sentinel and can send NUMA lookup through an unrelated firmware node. Initialize dynamically allocated devinfo with an invalid OFW node. For VF locality queries, use the owning PF's node when it exists. Fall back to the PCI bus when neither the VF nor PF has a firmware node. This preserves existing CPU-locality behavior for ordinary PCI devices while making VF domain and interrupt placement follow their PF. Reviewed by: PowerPC (jhibbits) MFC after: 2 weeks Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D59064
Diffstat (limited to 'lib/libstdthreads')
0 files changed, 0 insertions, 0 deletions