commit 7b2f7a1f96787a490d56289c55b8ad7cb5ac030e
Author: Moshe Levi <email address hidden>
Date: Sun Nov 12 08:55:15 2017 +0200
Don't overwrite binding-profile
Currently when providing existing direct port, nova-compute
will overwrite the binding-profile information with pci_vendor_info
and pci_slot. The binding-profile will be used to request
NIC capabilities for SR-IOV ports [1]. This also allows to distinguish
which neutron mechanism driver will bind the port [2].
This patch updates the behaviour that on update port it will update,
rather than overwrite, the binding-profile information with
pci_vendor_info and pci_slot. And on unbind port it will remove
only the pci_vendor_info and pci_slot from the port binding-profile
rather than unsetting the entire field.
Reviewed: https:/ /review. openstack. org/519066 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=7b2f7a1f967 87a490d56289c55 b8ad7cb5ac030e
Committed: https:/
Submitter: Zuul
Branch: master
commit 7b2f7a1f96787a4 90d56289c55b8ad 7cb5ac030e
Author: Moshe Levi <email address hidden>
Date: Sun Nov 12 08:55:15 2017 +0200
Don't overwrite binding-profile
Currently when providing existing direct port, nova-compute
will overwrite the binding-profile information with pci_vendor_info
and pci_slot. The binding-profile will be used to request
NIC capabilities for SR-IOV ports [1]. This also allows to distinguish
which neutron mechanism driver will bind the port [2].
This patch updates the behaviour that on update port it will update,
rather than overwrite, the binding-profile information with
pci_vendor_info and pci_slot. And on unbind port it will remove
only the pci_vendor_info and pci_slot from the port binding-profile
rather than unsetting the entire field.
[1] https:/ /review. openstack. org/#/c/ 435954/ /review. openstack. org/#/c/ 499203/
[2] https:/
Closes-Bug: #1719327
Change-Id: Id847949b4761d5 1a14e5c2f39552f 60a47889aa9