Fix missing sriov attributes in N3000 pci info

The fpga-agent did not include all of the sriov attributes in the
reporting of N3000 pci device info to the conductor resulting in
fields being overwritten.
This update ensures that the attributes sriov_vf_driver and
sriov_vf_pdevice_id are copied.

Closes-Bug: 1925513

Change-Id: I891166b1a0966b3bd9bfe253f954ff22f7ea8677
Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
This commit is contained in:
Teresa Ho 2021-05-04 09:15:28 -04:00
parent 038258f05a
commit c9df464849
1 changed files with 2 additions and 0 deletions

View File

@ -354,6 +354,8 @@ def get_n3000_pci_info():
'sriov_totalvfs': dev.sriov_totalvfs,
'sriov_numvfs': dev.sriov_numvfs,
'sriov_vfs_pci_address': dev.sriov_vfs_pci_address,
'sriov_vf_driver': dev.sriov_vf_driver,
'sriov_vf_pdevice_id': dev.sriov_vf_pdevice_id,
'driver': dev.driver,
'enabled': dev.enabled,
'extra_info': dev.extra_info}