We add new member pci_pdev.drhd_idx associating the DRHD
(IOMMU) with this pdev, and a method to convert a pbdf of a device to
this index by searching the pdev list.
Partial patch: drhd_index initialization handled in subsequent patch.
v3->v2
Renamed drhd_idx to drhd_index in pci_pdev struct
Introduced a macro INVALID_DRHD_INDEX set to 0xFFFFFFFFU
v2-> v1
Remove (index == -1U) from loop control expression
to follow MISRA-C
Tracked-On: #4134
Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>