Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Conversation

@gauravkghildiyal
Copy link
Member

@gauravkghildiyal gauravkghildiyal commented Aug 21, 2025

The function name is confusing and makes one think it only wants the "Bus", but actually it expects the complete BDF notation (which as I also just learned, is also sometimes called a bus)

Without this, the function will fail at https://github.com/kubernetes/dynamic-resource-allocation/blob/f977084efa0c474b35eb9ad3131cf04f1313a917/deviceattribute/pci_linux.go#L43

@michaelasp
Copy link
Collaborator

Man PCI can get confusing 😅, who'd have thought we wouldn't want the bus when it specifies the bus.

Thanks for catching this!

@gauravkghildiyal gauravkghildiyal merged commit 74691d4 into google:main Aug 21, 2025
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants