vmware-archive / vsphere-storage-for-docker

vSphere Storage for Docker
https://vmware.github.io/vsphere-storage-for-docker
Apache License 2.0
251 stars 95 forks source link

Fix to use slot number to generate the PCI bridge function number. #1982

Closed govint closed 6 years ago

govint commented 6 years ago

Fix https://github.com/vmware/docker-volume-vsphere/pull/1978 has one issue where the PCI function is generated using the "bus" while it should have been from the slot number of the PCI bridge. Code error and is being fixed in this PR. Also changed the name of the globals used to shift/mask bits.